mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-01 05:24:47 +02:00
Disable forceinline with MinGw, as it has bugs
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#elif defined(BOOST_MSVC) && (_MSC_VER < 1900 || defined(_DEBUG))
|
||||
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
|
||||
#define BOOST_INTRUSIVE_FORCEINLINE inline
|
||||
#elif defined(BOOST_GCC) && (__GNUC__ <= 5)
|
||||
#elif defined(BOOST_GCC) && ((__GNUC__ <= 5) || defined(__MINGW32__))
|
||||
//Older GCCs have problems with forceinline
|
||||
#define BOOST_INTRUSIVE_FORCEINLINE inline
|
||||
#else
|
||||
|
Reference in New Issue
Block a user