From 7ac77ca9ac780a3b027e59d23433a5e1e027e93f Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 2 Jun 2017 05:18:52 -0400 Subject: Revert "Revert "Clear Visual Studio warnings (Issue 412)"" This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4. --- 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