Disable C4702 in lightweight_test_fail6, no_exceptions_support_test

This commit is contained in:
Peter Dimov 2021-11-01 04:17:51 +02:00
parent 7b45315af1
commit f94db671f6
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,10 @@
// 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>
struct X

View File

@ -11,6 +11,7 @@
#if defined(_MSC_VER)
# pragma warning(disable: 4530) // C++ exception handler used
# pragma warning(disable: 4577) // noexcept used without /EHsc
# pragma warning(disable: 4702) // unreachable code
#endif
#include <boost/core/no_exceptions_support.hpp>