Clear unknown pragma warning under GCC

pull/566/head
Jeffrey Walton 2018-01-17 18:58:29 -05:00
parent c8389f89ea
commit 9683b8068e
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 2 deletions

View File

@ -9,11 +9,13 @@
#include "pkcspad.h" #include "pkcspad.h"
#include "emsa2.h" #include "emsa2.h"
#if defined(CRYPTOPP_MSC_VERSION)
// Cast from FARPROC to funcptr with args, http://stackoverflow.com/q/4192058/608639 // Cast from FARPROC to funcptr with args, http://stackoverflow.com/q/4192058/608639
#pragma warning(disable: 4191) # pragma warning(disable: 4191)
#endif
#if defined(CRYPTOPP_EXPORTS) && defined(CRYPTOPP_WIN32_AVAILABLE) #if defined(CRYPTOPP_EXPORTS) && defined(CRYPTOPP_WIN32_AVAILABLE)
#include <windows.h> # include <windows.h>
#endif #endif
#ifndef CRYPTOPP_IMPORTS #ifndef CRYPTOPP_IMPORTS