mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Disable C4702 in lightweight_test_fail6, no_exceptions_support_test
This commit is contained in:
@ -8,6 +8,10 @@
|
|||||||
// http://www.boost.org/LICENSE_1_0.txt
|
// http://www.boost.org/LICENSE_1_0.txt
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
# pragma warning(disable: 4702) // unreachable code
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/core/lightweight_test.hpp>
|
#include <boost/core/lightweight_test.hpp>
|
||||||
|
|
||||||
struct X
|
struct X
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# pragma warning(disable: 4530) // C++ exception handler used
|
# pragma warning(disable: 4530) // C++ exception handler used
|
||||||
# pragma warning(disable: 4577) // noexcept used without /EHsc
|
# pragma warning(disable: 4577) // noexcept used without /EHsc
|
||||||
|
# pragma warning(disable: 4702) // unreachable code
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/core/no_exceptions_support.hpp>
|
#include <boost/core/no_exceptions_support.hpp>
|
||||||
|
Reference in New Issue
Block a user