summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-19 12:16:19 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-19 12:16:19 -0400
commit786b3f16601670bc597cd268d0bc5666b8ddd58e (patch)
tree419f7d50c8e6ce3b28d77f418f1cd5ab1f06a084 /fipstest.cpp
parente522574ddd723315f3cfdeec063d3dd079ea5bf6 (diff)
downloadcryptopp-git-786b3f16601670bc597cd268d0bc5666b8ddd58e.tar.gz
Cleared warning "GCC diagnostic kind" unknown. It appears to be a Clang warning
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/fipstest.cpp b/fipstest.cpp
index 27d9979f..8c1f8294 100644
--- a/fipstest.cpp
+++ b/fipstest.cpp
@@ -26,8 +26,10 @@ extern "C" {_CRTIMP void __cdecl _CRT_DEBUGGER_HOOK(int);}
#if GCC_DIAGNOSTIC_AWARE
# pragma GCC diagnostic ignored "-Wunused-value"
# pragma GCC diagnostic ignored "-Wunused-variable"
-# pragma GCC diagnostic ignored "-Wunneeded-internal-declaration"
-#endif
+# if defined(__clang__)
+# pragma GCC diagnostic ignored "-Wunneeded-internal-declaration"
+# endif // Clang
+#endif // GCC Diagnostics
NAMESPACE_BEGIN(CryptoPP)