Suppress warnings on g++ 4.x

This commit is contained in:
Peter Dimov
2017-07-16 01:20:50 +03:00
parent ced4870cb0
commit d5be3746a1

View File

@ -5,8 +5,9 @@
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#if defined( __GNUC__ ) && (__GNUC__ >= 7)
#if defined( __GNUC__ ) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 407)
#pragma GCC diagnostic ignored "-Wnarrowing"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#ifdef TEST_STD