1
0
forked from boostorg/mp11

Suppress -Wsign-compare on g++ 4.7

This commit is contained in:
Peter Dimov
2019-12-07 21:01:25 +02:00
parent 523c23619c
commit 4f91ee2e96
2 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
#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

@@ -15,6 +15,10 @@
#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 )