Cleared -Wunneeded-internal-declaration from GCC 5.1

This commit is contained in:
Jeffrey Walton 2015-07-19 12:30:16 -04:00
parent 786b3f1660
commit ea9081ebc4
2 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,7 @@
// fipstest.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "misc.h"
#ifndef CRYPTOPP_IMPORTS
@ -16,10 +17,10 @@
#define _CRT_DEBUGGER_HOOK _crt_debugger_hook
#else
#define _CRT_DEBUGGER_HOOK __crt_debugger_hook
#endif
#endif // _M_IX86
extern "C" {_CRTIMP void __cdecl _CRT_DEBUGGER_HOOK(int);}
#endif
#endif
#endif // _MSC_VER
#endif // CRYPTOPP_WIN32_AVAILABLE
#include <iostream>

View File

@ -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)