From 96ebead6aa318f496fe5030f0d84236d0c39d3e0 Mon Sep 17 00:00:00 2001 From: subtly Date: Sun, 4 Jan 2015 21:01:56 +0100 Subject: [PATCH] coding standards, h512 node id, mute warnings for clang builds. attempt inherited constructor fix for windows. --- boostTest.cpp | 4 ++++ net.cpp | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/boostTest.cpp b/boostTest.cpp index 7d89f853c..cef3cc0a7 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 +#pragma warning(pop) +#pragma GCC diagnostic pop diff --git a/net.cpp b/net.cpp index 8a2e2af78..0a008d6eb 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.