summaryrefslogtreecommitdiff
path: root/modexppc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-06-02 05:18:52 -0400
committerJeffrey Walton <noloader@gmail.com>2017-06-02 05:18:52 -0400
commit7ac77ca9ac780a3b027e59d23433a5e1e027e93f (patch)
treea0ef6365da4f658f632316fbd4d0804dd20e713f /modexppc.h
parentc3871aec948013c1a4d5613050c659520f59e2e4 (diff)
downloadcryptopp-git-7ac77ca9ac780a3b027e59d23433a5e1e027e93f.tar.gz
Revert "Revert "Clear Visual Studio warnings (Issue 412)""
This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
Diffstat (limited to 'modexppc.h')
-rw-r--r--modexppc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/modexppc.h b/modexppc.h
index c2978871..5e8dd676 100644
--- a/modexppc.h
+++ b/modexppc.h
@@ -9,6 +9,11 @@
#include "smartptr.h"
#include "pubkey.h"
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(push)
+# pragma warning(disable: 4231 4275)
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
CRYPTOPP_DLL_TEMPLATE_CLASS DL_FixedBasePrecomputationImpl<Integer>;
@@ -36,4 +41,8 @@ private:
NAMESPACE_END
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(pop)
+#endif
+
#endif