Suppress -Wnoexcept-type warnings

This commit is contained in:
Mohammad Nejati
2024-05-31 19:11:35 +00:00
committed by Mohammad Nejati
parent da4cdb8a1e
commit 8da9a776ff

View File

@ -16,6 +16,11 @@
#include <sstream>
#include <string>
#if defined(BOOST_GCC) && BOOST_GCC >= 70000 && BOOST_GCC < 80000
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnoexcept-type"
#endif
namespace boost {
namespace beast {
namespace unit_test {
@ -731,6 +736,10 @@ run(runner& r)
#endif
#if defined(BOOST_GCC) && BOOST_GCC >= 70000 && BOOST_GCC < 80000
#pragma GCC diagnostic pop
#endif
//------------------------------------------------------------------------------
#endif