Avoid unknown pragma warning from GCC (GH #777)

This commit is contained in:
Jeffrey Walton 2019-01-16 14:43:58 -05:00
parent 2113a471eb
commit 3fba3b0a1c
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -18,9 +18,11 @@
# include <omp.h> # include <omp.h>
#endif #endif
// Issue 777 // https://github.com/weidai11/cryptopp/issues/777
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
# pragma GCC diagnostic ignored "-Wtautological-compare" # if defined(__clang__)
# pragma GCC diagnostic ignored "-Wtautological-compare"
# endif
#endif #endif
ANONYMOUS_NAMESPACE_BEGIN ANONYMOUS_NAMESPACE_BEGIN