1
0
forked from boostorg/mp11

Suppress -Wsign-compare on g++ 4.7 more forcefully

This commit is contained in:
Peter Dimov
2019-12-07 21:58:51 +02:00
parent 76442f9120
commit 3efbc9d3cd
2 changed files with 10 additions and 8 deletions

View File

@ -6,6 +6,11 @@
// See accompanying file LICENSE_1_0.txt or copy at
// 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/list.hpp>
@ -15,10 +20,6 @@
#include <tuple>
#include <cstddef>
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
# pragma GCC diagnostic ignored "-Wsign-compare"
#endif
using boost::mp11::mp_bool;
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )

View File

@ -6,6 +6,11 @@
// See accompanying file LICENSE_1_0.txt or copy at
// 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/list.hpp>
@ -15,10 +20,6 @@
#include <type_traits>
#include <tuple>
#if BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 40800 )
# pragma GCC diagnostic ignored "-Wsign-compare"
#endif
using boost::mp11::mp_bool;
#if !BOOST_MP11_WORKAROUND( BOOST_MSVC, < 1910 )