From 4b6b13ad25f7433e8b1bd0213de452bebe066e60 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 12 Aug 2018 19:37:33 +0100 Subject: [PATCH] Disable gcc warning. --- test/is_function_test.cpp | 4 ++++ test/is_member_func_test.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/is_function_test.cpp b/test/is_function_test.cpp index 0587cf4..d278320 100644 --- a/test/is_function_test.cpp +++ b/test/is_function_test.cpp @@ -12,6 +12,10 @@ #include "test.hpp" #include "check_integral_constant.hpp" +#ifdef BOOST_GCC +#pragma GCC diagnostic ignored "-Wnoexcept-type" +#endif + #ifdef BOOST_TT_HAS_ACCURATE_BINARY_OPERATOR_DETECTION struct X diff --git a/test/is_member_func_test.cpp b/test/is_member_func_test.cpp index 2728276..cb47915 100644 --- a/test/is_member_func_test.cpp +++ b/test/is_member_func_test.cpp @@ -12,6 +12,10 @@ #include "test.hpp" #include "check_integral_constant.hpp" +#ifdef BOOST_GCC +#pragma GCC diagnostic ignored "-Wnoexcept-type" +#endif + #ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION struct tricky_members {