forked from boostorg/type_traits
Disable g++-7 warnings in a proper manner
This commit is contained in:
@ -16,8 +16,6 @@ project : requirements
|
||||
# set warnings as errors for those compilers we know we get warning free:
|
||||
<toolset>gcc:<cxxflags>-Wextra
|
||||
<toolset>gcc:<cxxflags>-Wno-uninitialized
|
||||
<toolset>gcc:<cxxflags>-Wno-int-in-bool-context
|
||||
<toolset>gcc:<cxxflags>-Wno-bool-operation
|
||||
<toolset>gcc:<warnings-as-errors>on
|
||||
<toolset>intel:<warnings-as-errors>on
|
||||
<toolset>sun:<warnings-as-errors>on
|
||||
|
@ -3,6 +3,10 @@
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 7)
|
||||
#pragma GCC diagnostic ignored "-Wbool-operation"
|
||||
#endif
|
||||
|
||||
#ifdef TEST_STD
|
||||
# include <type_traits>
|
||||
#else
|
||||
|
@ -3,6 +3,10 @@
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 7)
|
||||
#pragma GCC diagnostic ignored "-Wint-in-bool-context"
|
||||
#endif
|
||||
|
||||
#ifdef TEST_STD
|
||||
# include <type_traits>
|
||||
#else
|
||||
|
@ -3,6 +3,10 @@
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 7)
|
||||
#pragma GCC diagnostic ignored "-Wint-in-bool-context"
|
||||
#endif
|
||||
|
||||
#ifdef TEST_STD
|
||||
# include <type_traits>
|
||||
#else
|
||||
|
Reference in New Issue
Block a user