aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-01-05 04:01:56 +0800
committersubtly <subtly@users.noreply.github.com>2015-01-05 04:01:56 +0800
commit96ebead6aa318f496fe5030f0d84236d0c39d3e0 (patch)
treea1c479a6af1e4cf2bd617727f32df258cf0336b0
parent94c1a961d9e7bfc951e10a8a81fc1513c23b9f65 (diff)
downloaddexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.gz
dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.zst
dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.zip
coding standards, h512 node id, mute warnings for clang builds. attempt inherited constructor fix for windows.
-rw-r--r--boostTest.cpp4
-rw-r--r--net.cpp6
2 files changed, 10 insertions, 0 deletions
diff --git a/boostTest.cpp b/boostTest.cpp
index 7d89f853..cef3cc0a 100644
--- a/boostTest.cpp
+++ b/boostTest.cpp
@@ -21,4 +21,8 @@
*/
#define BOOST_TEST_MODULE EthereumTests
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <boost/test/included/unit_test.hpp>
+#pragma warning(pop)
+#pragma GCC diagnostic pop
diff --git a/net.cpp b/net.cpp
index 8a2e2af7..0a008d6e 100644
--- a/net.cpp
+++ b/net.cpp
@@ -171,6 +171,12 @@ BOOST_AUTO_TEST_CASE(test_findnode_neighbors)
// into the same list of nearest nodes.
}
+BOOST_AUTO_TEST_CASE(test_windows_template)
+{
+ bi::udp::endpoint ep;
+ PingNode p(ep);
+}
+
BOOST_AUTO_TEST_CASE(kademlia)
{
// Not yet a 'real' test.