Add <warnings>extra to test/Jamfile

This commit is contained in:
Peter Dimov
2019-12-08 19:33:48 +02:00
parent 26bc9374e2
commit fe38fbc5cf
10 changed files with 48 additions and 8 deletions

View File

@ -13,6 +13,10 @@
#include <boost/exception/get_error_info.hpp>
#include <boost/core/lightweight_test.hpp>
#if defined(_MSC_VER)
# pragma warning(disable: 4702) // unreachable code
#endif
void test_catch_by_type()
{
BOOST_TEST_THROWS( lib1::f(), lib1::exception );