Cleared -Wunneeded-internal-declaration from GCC 5.1
parent
786b3f1660
commit
ea9081ebc4
|
|
@ -1,6 +1,7 @@
|
||||||
// fipstest.cpp - written and placed in the public domain by Wei Dai
|
// fipstest.cpp - written and placed in the public domain by Wei Dai
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
#include "misc.h"
|
||||||
|
|
||||||
#ifndef CRYPTOPP_IMPORTS
|
#ifndef CRYPTOPP_IMPORTS
|
||||||
|
|
||||||
|
|
@ -16,10 +17,10 @@
|
||||||
#define _CRT_DEBUGGER_HOOK _crt_debugger_hook
|
#define _CRT_DEBUGGER_HOOK _crt_debugger_hook
|
||||||
#else
|
#else
|
||||||
#define _CRT_DEBUGGER_HOOK __crt_debugger_hook
|
#define _CRT_DEBUGGER_HOOK __crt_debugger_hook
|
||||||
#endif
|
#endif // _M_IX86
|
||||||
extern "C" {_CRTIMP void __cdecl _CRT_DEBUGGER_HOOK(int);}
|
extern "C" {_CRTIMP void __cdecl _CRT_DEBUGGER_HOOK(int);}
|
||||||
#endif
|
#endif // _MSC_VER
|
||||||
#endif
|
#endif // CRYPTOPP_WIN32_AVAILABLE
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,17 @@
|
||||||
#include "nbtheory.h"
|
#include "nbtheory.h"
|
||||||
#include "modarith.h"
|
#include "modarith.h"
|
||||||
#include "algparam.h"
|
#include "algparam.h"
|
||||||
|
#include "misc.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#ifdef _OPENMP
|
#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
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue