diff options
author | subtly <subtly@users.noreply.github.com> | 2015-01-05 04:01:56 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2015-01-05 04:01:56 +0800 |
commit | 96ebead6aa318f496fe5030f0d84236d0c39d3e0 (patch) | |
tree | a1c479a6af1e4cf2bd617727f32df258cf0336b0 | |
parent | 94c1a961d9e7bfc951e10a8a81fc1513c23b9f65 (diff) | |
download | dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.gz dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.bz2 dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.lz dexon-solidity-96ebead6aa318f496fe5030f0d84236d0c39d3e0.tar.xz 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.cpp | 4 | ||||
-rw-r--r-- | net.cpp | 6 |
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 @@ -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. |