forked from boostorg/container
#pragma GCC diagnostic push is available from GCC 4.6, not from GCC 4.5
This commit is contained in:
1 parent
d5a830434e
commit
80697e7c0f
6 files changed
+12
-12
No files matched your search
+2
-2
@@ -19,7 +19,7 @@
|
||||
#include <boost/move/iterator.hpp>
|
||||
#include <boost/move/make_unique.hpp>
|
||||
|
||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
#endif
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||
|
||||
//#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user