diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-01-13 21:38:39 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-01-13 21:38:39 +0800 |
commit | 1305fb0ff8b48cc1abbb47372b1951f9f1bc1155 (patch) | |
tree | d50461bbeb16c4c1206975740ecfc799f447b16b | |
parent | f9f40035ae6765552a201870d30f7ce0b01213e7 (diff) | |
parent | b85ae53f63b845eb872e15aed56fccf3a5d39153 (diff) | |
download | dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar.gz dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar.bz2 dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar.lz dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar.xz dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.tar.zst dexon-solidity-1305fb0ff8b48cc1abbb47372b1951f9f1bc1155.zip |
Merge remote-tracking branch 'upstream/develop' into randomTestEfficiency
-rw-r--r-- | SolidityEndToEndTest.cpp | 4 | ||||
-rw-r--r-- | boostTest.cpp | 2 | ||||
-rw-r--r-- | vm.cpp | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp index 2afe875f..9543497a 100644 --- a/SolidityEndToEndTest.cpp +++ b/SolidityEndToEndTest.cpp @@ -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 diff --git a/boostTest.cpp b/boostTest.cpp index cef3cc0a..1523a7a1 100644 --- a/boostTest.cpp +++ b/boostTest.cpp @@ -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 @@ -345,7 +345,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) output = vm->go(fev, fev.simpleTrace()).toBytes(); gas = vm->gas(); } - catch (VMException const& _e) + catch (VMException const&) { cnote << "Safe VM Exception"; vmExceptionOccured = true; |