1
0

Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.h

I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings.

So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
This commit is contained in:
Diusrex
2014-01-05 15:06:17 -07:00
parent 0d5b581fcd
commit 2dbe5033ca
6 changed files with 78 additions and 3 deletions

View File

@@ -4,6 +4,12 @@
#ifndef CRYPTOPP_IMPORTS
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4702)
#endif
#include "cryptlib.h"
#include "misc.h"
#include "filters.h"
@@ -825,4 +831,8 @@ void AuthenticatedKeyAgreementDomain::GenerateEphemeralKeyPair(RandomNumberGener
NAMESPACE_END
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#endif