Clear unused function warning in Donna source files (GH #793)

This commit is contained in:
Jeffrey Walton 2019-01-30 23:06:06 -05:00
parent 3d8bd4c582
commit 31fdfaa070
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
3 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,10 @@
#include "misc.h" #include "misc.h"
#include "cpu.h" #include "cpu.h"
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wunused-function"
#endif
// Squash MS LNK4221 and libtool warnings // Squash MS LNK4221 and libtool warnings
extern const char DONNA32_FNAME[] = __FILE__; extern const char DONNA32_FNAME[] = __FILE__;

View File

@ -27,6 +27,10 @@
#include "misc.h" #include "misc.h"
#include "cpu.h" #include "cpu.h"
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wunused-function"
#endif
// Squash MS LNK4221 and libtool warnings // Squash MS LNK4221 and libtool warnings
extern const char DONNA64_FNAME[] = __FILE__; extern const char DONNA64_FNAME[] = __FILE__;

View File

@ -24,6 +24,7 @@
// and not the actual alignment of the variable and data. // and not the actual alignment of the variable and data.
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wcast-align" # pragma GCC diagnostic ignored "-Wcast-align"
# pragma GCC diagnostic ignored "-Wunused-function"
#endif #endif
// Squash MS LNK4221 and libtool warnings // Squash MS LNK4221 and libtool warnings