forked from boostorg/container
#pragma GCC diagnostic push is available from GCC 4.6, not from GCC 4.5
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
#include <boost/move/detail/nsec_clock.hpp>
|
#include <boost/move/detail/nsec_clock.hpp>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
//#pragma GCC diagnostic ignored "-Wunused-result"
|
//#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 9
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 9
|
||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 0
|
#define BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_MAX 0
|
||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
//#pragma GCC diagnostic ignored "-Wunused-result"
|
//#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
//#pragma GCC diagnostic ignored "-Wunused-result"
|
//#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#include <boost/move/iterator.hpp>
|
#include <boost/move/iterator.hpp>
|
||||||
#include <boost/move/make_unique.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 push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#endif
|
#endif
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
#include <boost/intrusive/detail/has_member_function_callable_with.hpp>
|
||||||
|
|
||||||
//#pragma GCC diagnostic ignored "-Wunused-result"
|
//#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 40500)
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 40600)
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user