mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix Windows warning for boost in solidity tests.
We need this fixed before we can enable warnings-as-errors.
This commit is contained in:
parent
e759a24816
commit
79ef51a778
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user