File tree Expand file tree Collapse file tree
include/boost/container/detail Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -249,12 +249,12 @@ namespace boost {
249249 #define BOOST_CONTAINER_NOVTABLE
250250#endif
251251
252- #if ( defined(BOOST_CLANG) && BOOST_CLANG_VERSION >= 30600)
252+ #if defined(BOOST_CLANG) && defined(BOOST_CLANG_VERSION) && ( BOOST_CLANG_VERSION >= 30600)
253253
254254 #define BOOST_CONTAINER_UNROLL_PRAGMA (x ) _Pragma (#x)
255255 #define BOOST_CONTAINER_UNROLL (n ) BOOST_CONTAINER_UNROLL_PRAGMA (unroll n)
256256
257- #elif ( defined(BOOST_GCC) && BOOST_GCC_VERSION >= 150000)
257+ #elif defined(BOOST_GCC) && defined(BOOST_GCC_VERSION) && ( BOOST_GCC_VERSION >= 150000)
258258 // GCC < 15 emits an unsuppressible "ignoring loop annotation" warning
259259 // when the optimizer decides it cannot unroll a loop (complex iterators,
260260 // unknown trip count, etc.). This was fixed in GCC 15.
You can’t perform that action at this time.
0 commit comments