mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Suppress -Wnoexcept-type warnings
This commit is contained in:
committed by
Mohammad Nejati
parent
da4cdb8a1e
commit
8da9a776ff
@ -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
|
||||
|
Reference in New Issue
Block a user