Silence GCC warnings in BLAKE2

This commit is contained in:
Jeffrey Walton 2020-06-29 08:31:25 -04:00
parent 3bdcb5b8e0
commit a830b24e7a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 10 additions and 0 deletions

View File

@ -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__;

View File

@ -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__;