forked from boostorg/mp11
Suppress -Wsign-compare on g++ 4.7 more forcefully
This commit is contained in:
@ -6,6 +6,11 @@
|
|||||||
// See accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
#include <boost/mp11/detail/config.hpp>
|
||||||
|
|
||||||
|
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
|
||||||
|
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/mp11/algorithm.hpp>
|
#include <boost/mp11/algorithm.hpp>
|
||||||
#include <boost/mp11/list.hpp>
|
#include <boost/mp11/list.hpp>
|
||||||
@ -15,10 +20,6 @@
|
|||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
|
|
||||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using boost::mp11::mp_bool;
|
using boost::mp11::mp_bool;
|
||||||
|
|
||||||
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )
|
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )
|
||||||
|
@ -6,6 +6,11 @@
|
|||||||
// See accompanying file LICENSE_1_0.txt or copy at
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
#include <boost/mp11/detail/config.hpp>
|
||||||
|
|
||||||
|
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
|
||||||
|
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/mp11/algorithm.hpp>
|
#include <boost/mp11/algorithm.hpp>
|
||||||
#include <boost/mp11/list.hpp>
|
#include <boost/mp11/list.hpp>
|
||||||
@ -15,10 +20,6 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|
||||||
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
|
|
||||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using boost::mp11::mp_bool;
|
using boost::mp11::mp_bool;
|
||||||
|
|
||||||
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )
|
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )
|
||||||
|
Reference in New Issue
Block a user