aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2016-03-18 16:22:15 +0800
committerBob Summerwill <bob@summerwill.net>2016-03-18 16:22:15 +0800
commita1ce66b304e7187cfae1457de91a031c0931273c (patch)
tree90393a24a3ae9cbad81ae48e9fa7b2db11c671ec /test/contracts
parent11d67369bd0faee2b84c94522355ac963d726f16 (diff)
downloaddexon-solidity-a1ce66b304e7187cfae1457de91a031c0931273c.tar.gz
dexon-solidity-a1ce66b304e7187cfae1457de91a031c0931273c.tar.zst
dexon-solidity-a1ce66b304e7187cfae1457de91a031c0931273c.zip
Fixed Windows warnings
Diffstat (limited to 'test/contracts')
-rw-r--r--test/contracts/FixedFeeRegistrar.cpp9
-rw-r--r--test/contracts/Wallet.cpp9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/contracts/FixedFeeRegistrar.cpp b/test/contracts/FixedFeeRegistrar.cpp
index f42f4492..796b3831 100644
--- a/test/contracts/FixedFeeRegistrar.cpp
+++ b/test/contracts/FixedFeeRegistrar.cpp
@@ -22,7 +22,16 @@
#include <string>
#include <tuple>
+
+#if defined(_MSC_VER)
+#pragma warning(push)
+#pragma warning(disable:4535) // calling _set_se_translator requires /EHa
+#endif
#include <boost/test/unit_test.hpp>
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif
+
#include <libdevcore/Hash.h>
#include <test/libsolidity/solidityExecutionFramework.h>
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp
index 476e817b..7c4a9a84 100644
--- a/test/contracts/Wallet.cpp
+++ b/test/contracts/Wallet.cpp
@@ -22,7 +22,16 @@
#include <string>
#include <tuple>
+
+#if defined(_MSC_VER)
+#pragma warning(push)
+#pragma warning(disable:4535) // calling _set_se_translator requires /EHa
+#endif
#include <boost/test/unit_test.hpp>
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif
+
#include <libdevcore/Hash.h>
#include <test/libsolidity/solidityExecutionFramework.h>