mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +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 <sstream>
|
||||||
#include <string>
|
#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 boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
namespace unit_test {
|
namespace unit_test {
|
||||||
@ -731,6 +736,10 @@ run(runner& r)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(BOOST_GCC) && BOOST_GCC >= 70000 && BOOST_GCC < 80000
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user