summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorMarcel Raad <MarcelRaad@users.noreply.github.com>2017-07-17 18:10:38 +0200
committerJeffrey Walton <noloader@gmail.com>2017-07-17 12:10:38 -0400
commitd9de314e86306ce6dd549ccf6b98a6100c9c7310 (patch)
treefa9689ef80c32a585d3e96c77ad831693f8672e3 /integer.cpp
parent50d1ea83144af55e4938b3972dbc365908750fad (diff)
downloadcryptopp-git-d9de314e86306ce6dd549ccf6b98a6100c9c7310.tar.gz
Fix Windows compilation issues (by RaptorFactor) (#444)
* Fix compilation on Windows with /DUNICODE * Fix linking of fipstest for MSVC targeting ARM (__crt_debugger_hook is not available). * Fix build for Clang on Windows with optimizations on. * Fix a warning about a non-existant warning under Clang. * Fix compilation under Intel C++ 18.0 on Windows
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/integer.cpp b/integer.cpp
index 13a58a4e..cb38ca29 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -41,8 +41,10 @@
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wunused"
+#if !defined(__clang__)
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
+#endif
// Issue 340
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE