Skip to content

Commit 4c84305

Browse files
committed
Enable forceinline again in Clang and MinGW
1 parent 4f72690 commit 4c84305

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

include/boost/container/detail/workaround.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,8 @@
101101
#elif defined(BOOST_MSVC) && (_MSC_VER <= 1900 || defined(_DEBUG))
102102
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
103103
#define BOOST_CONTAINER_FORCEINLINE inline
104-
#elif defined(BOOST_CLANG) || (defined(BOOST_GCC) && ((__GNUC__ <= 5) || defined(__MINGW32__)))
104+
#elif defined(BOOST_GCC) && (__GNUC__ <= 5)
105105
//Older GCCs and MinGw have problems with forceinline
106-
//Clang can have code bloat issues with forceinline, see
107-
//https://lists.boost.org/boost-users/2023/04/91445.php and
108-
//https://github.com/llvm/llvm-project/issues/62202
109106
#define BOOST_CONTAINER_FORCEINLINE inline
110107
#else
111108
#define BOOST_CONTAINER_FORCEINLINE BOOST_FORCEINLINE

0 commit comments

Comments
 (0)