From eb3b27a6a5432b21e8e0bb2abb364096b2dca41e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 30 May 2017 16:37:41 -0400 Subject: Clear Visual Studio warnings (Issue 412) --- modarith.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modarith.h') diff --git a/modarith.h b/modarith.h index 5fff4275..1a78f535 100644 --- a/modarith.h +++ b/modarith.h @@ -14,6 +14,11 @@ #include "secblock.h" #include "misc.h" +#if CRYPTOPP_MSC_VERSION +# pragma warning(push) +# pragma warning(disable: 4231 4275) +#endif + NAMESPACE_BEGIN(CryptoPP) CRYPTOPP_DLL_TEMPLATE_CLASS AbstractGroup; @@ -313,4 +318,8 @@ private: NAMESPACE_END +#if CRYPTOPP_MSC_VERSION +# pragma warning(pop) +#endif + #endif -- cgit v1.2.1