mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 22:44:26 +02:00
Disable forceinline for old compilers due to bugs.
This commit is contained in:
@@ -103,6 +103,9 @@
|
|||||||
#elif defined(BOOST_MSVC) && defined(_DEBUG)
|
#elif defined(BOOST_MSVC) && defined(_DEBUG)
|
||||||
//"__forceinline" and MSVC seems to have some bugs in debug mode
|
//"__forceinline" and MSVC seems to have some bugs in debug mode
|
||||||
#define BOOST_CONTAINER_FORCEINLINE inline
|
#define BOOST_CONTAINER_FORCEINLINE inline
|
||||||
|
#elif defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4 && (__GNUC_MINOR__ < 5)))
|
||||||
|
//Older GCCs have problems with forceinline
|
||||||
|
#define BOOST_CONTAINER_FORCEINLINE inline
|
||||||
#else
|
#else
|
||||||
#define BOOST_CONTAINER_FORCEINLINE BOOST_FORCEINLINE
|
#define BOOST_CONTAINER_FORCEINLINE BOOST_FORCEINLINE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user