mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed warnings for msvc build
This commit is contained in:
parent
3e172da03f
commit
b85ae53f63
@ -28,6 +28,10 @@
|
||||
#include <libdevcrypto/SHA3.h>
|
||||
#include <test/solidityExecutionFramework.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4307) //integral constant overflow for high_bits_cleaning
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace dev
|
||||
|
@ -23,6 +23,6 @@
|
||||
#define BOOST_TEST_MODULE EthereumTests
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#define BOOST_DISABLE_WIN32 //disables SEH warning
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
#pragma warning(pop)
|
||||
#pragma GCC diagnostic pop
|
||||
|
Loading…
Reference in New Issue
Block a user