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