From 79ef51a7786612e15c20149a53d0a1ae01676fb8 Mon Sep 17 00:00:00 2001 From: Bob Summerwill Date: Mon, 21 Mar 2016 16:05:30 -0700 Subject: Fix Windows warning for boost in solidity tests. We need this fixed before we can enable warnings-as-errors. --- test/boostTest.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + #pragma GCC diagnostic pop #include -- cgit