diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/boostTest.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp index f3400a31..a2cfa5ee 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -24,8 +24,16 @@ #define BOOST_TEST_MODULE EthereumTests #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" -//#define BOOST_DISABLE_WIN32 //disables SEH warning + +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4535) // calling _set_se_translator requires /EHa +#endif #include <boost/test/included/unit_test.hpp> +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + #pragma GCC diagnostic pop #include <test/TestHelper.h> |