From e0868d6474632133546552d1cbaa6279b8e56fd0 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 13 Aug 2018 09:29:46 +0100 Subject: [PATCH] GCC warning fix has to be constrained to gcc-7. --- test/is_function_test.cpp | 2 +- test/is_member_func_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/is_function_test.cpp b/test/is_function_test.cpp index d278320..1cb0423 100644 --- a/test/is_function_test.cpp +++ b/test/is_function_test.cpp @@ -12,7 +12,7 @@ #include "test.hpp" #include "check_integral_constant.hpp" -#ifdef BOOST_GCC +#if defined(BOOST_GCC) && (BOOST_GCC >= 70000) #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif diff --git a/test/is_member_func_test.cpp b/test/is_member_func_test.cpp index cb47915..94b040a 100644 --- a/test/is_member_func_test.cpp +++ b/test/is_member_func_test.cpp @@ -12,7 +12,7 @@ #include "test.hpp" #include "check_integral_constant.hpp" -#ifdef BOOST_GCC +#if defined(BOOST_GCC) && (BOOST_GCC >= 70000) #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif