We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5abb2 commit ec5e251Copy full SHA for ec5e251
include/boost/intrusive/detail/workaround.hpp
@@ -116,7 +116,7 @@ template<unsigned> struct static_assert_test {};
116
//GCC has some false positives with some functions returning references.
117
//This silences this warning in selected functions
118
#if defined(BOOST_GCC) && (BOOST_GCC >= 140000)
119
-# define BOOST_INTRUSIVE_NO_DANGLING [[gnu::no_dangling]]
+# define BOOST_INTRUSIVE_NO_DANGLING __attribute__((no_dangling))
120
#else
121
# define BOOST_INTRUSIVE_NO_DANGLING
122
#endif
0 commit comments