mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 05:54:38 +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))
|
#elif defined(BOOST_MSVC) && (_MSC_VER < 1900 || defined(_DEBUG))
|
||||||
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
|
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
|
||||||
#define BOOST_INTRUSIVE_FORCEINLINE inline
|
#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
|
//Older GCCs have problems with forceinline
|
||||||
#define BOOST_INTRUSIVE_FORCEINLINE inline
|
#define BOOST_INTRUSIVE_FORCEINLINE inline
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user