2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-19 04:02:16 +00:00

Disable -Wnoexcept-type under GCC 7

This commit is contained in:
Peter Dimov
2024-03-21 20:43:25 +02:00
parent 9743e1e03f
commit d745a4cfba
2 changed files with 8 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#if defined(__GNUC__) && __GNUC__ == 7
# pragma GCC diagnostic ignored "-Wnoexcept-type"
#endif
#include <boost/compat/invoke.hpp>
#include <boost/core/lightweight_test.hpp>

View File

@@ -2,6 +2,10 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#if defined(__GNUC__) && __GNUC__ == 7
# pragma GCC diagnostic ignored "-Wnoexcept-type"
#endif
#include <boost/compat/invoke.hpp>
#include <boost/core/lightweight_test.hpp>
#include <functional>