summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-19 12:30:16 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-19 12:30:16 -0400
commitea9081ebc47f3ed636d6c510196a8da20b199ee4 (patch)
tree96b2041fa231670783131f53a763ec91719af467 /nbtheory.cpp
parent786b3f16601670bc597cd268d0bc5666b8ddd58e (diff)
downloadcryptopp-git-ea9081ebc47f3ed636d6c510196a8da20b199ee4.tar.gz
Cleared -Wunneeded-internal-declaration from GCC 5.1
Diffstat (limited to 'nbtheory.cpp')
-rw-r--r--nbtheory.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/nbtheory.cpp b/nbtheory.cpp
index 0334cf58..f4f53ac3 100644
--- a/nbtheory.cpp
+++ b/nbtheory.cpp
@@ -7,13 +7,17 @@
#include "nbtheory.h"
#include "modarith.h"
#include "algparam.h"
+#include "misc.h"
#include <math.h>
#include <vector>
#ifdef _OPENMP
-// needed in MSVC 2005 to generate correct manifest
-#include <omp.h>
+# include <omp.h>
+#endif
+
+#if GCC_DIAGNOSTIC_AWARE
+# pragma GCC diagnostic ignored "-Wunknown-pragmas"
#endif
NAMESPACE_BEGIN(CryptoPP)