diff options
-rw-r--r-- | blake2b_simd.cpp | 5 | ||||
-rw-r--r-- | blake2s_simd.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/blake2b_simd.cpp b/blake2b_simd.cpp index b0772dea..2d042c00 100644 --- a/blake2b_simd.cpp +++ b/blake2b_simd.cpp @@ -58,6 +58,11 @@ # include "ppc_simd.h"
#endif
+#if defined(CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE)
+/* Ignore "warning: vec_lvsl is deprecated..." */
+# pragma GCC diagnostic ignored "-Wdeprecated"
+#endif
+
// Squash MS LNK4221 and libtool warnings
extern const char BLAKE2B_SIMD_FNAME[] = __FILE__;
diff --git a/blake2s_simd.cpp b/blake2s_simd.cpp index e7c80912..f0caed48 100644 --- a/blake2s_simd.cpp +++ b/blake2s_simd.cpp @@ -68,6 +68,11 @@ # include "ppc_simd.h"
#endif
+#if defined(CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE)
+/* Ignore "warning: vec_lvsl is deprecated..." */
+# pragma GCC diagnostic ignored "-Wdeprecated"
+#endif
+
// Squash MS LNK4221 and libtool warnings
extern const char BLAKE2S_SIMD_FNAME[] = __FILE__;
|