diff options
author | Gav Wood <i@gavwood.com> | 2014-10-17 01:03:04 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-10-17 01:03:04 +0800 |
commit | b5bd1cc521471b740095e1b62d319909cb5d173d (patch) | |
tree | aa7362e70b7f63fc0619a2a2d80a094e118a06ef | |
parent | 266bce33762b04942095c277232071ae7e6411b2 (diff) | |
download | dexon-solidity-b5bd1cc521471b740095e1b62d319909cb5d173d.tar.gz dexon-solidity-b5bd1cc521471b740095e1b62d319909cb5d173d.tar.zst dexon-solidity-b5bd1cc521471b740095e1b62d319909cb5d173d.zip |
Add QtCreator code style.
Fix warnings. Bad boy, Alex!
-rw-r--r-- | TestHelperCrypto.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TestHelperCrypto.h b/TestHelperCrypto.h index 6feeeb97..cdc22ec3 100644 --- a/TestHelperCrypto.h +++ b/TestHelperCrypto.h @@ -22,11 +22,22 @@ #pragma once //#include <ostream> + +#pragma warning(push) +#pragma warning(disable:4100 4244) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor" +#pragma GCC diagnostic ignored "-Wextra" #include <eccrypto.h> #include <ecp.h> #include <files.h> #include <osrng.h> #include <oids.h> +#pragma warning(pop) +#pragma GCC diagnostic pop using namespace std; using namespace CryptoPP; |