fixed: pragma usage not cross platform
This commit is contained in:
parent
78ecdf4c6e
commit
a5d702c8b5
|
@ -20,18 +20,17 @@
|
|||
#include "ECryptoMode.h"
|
||||
#include "CString.h"
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#if __APPLE__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wtautological-compare"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#pragma GCC diagnostic ignored "-Wall"
|
||||
#endif
|
||||
|
||||
#include <cryptopp562/gcm.h>
|
||||
#include <cryptopp562/modes.h>
|
||||
#include <cryptopp562/aes.h>
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#if __APPLE__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "CStreamFilter.h"
|
||||
#include "CCryptoMode.h"
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#if __APPLE__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wall"
|
||||
#endif
|
||||
|
@ -29,7 +29,7 @@
|
|||
#include <cryptopp562/osrng.h>
|
||||
#include <cryptopp562/sha.h>
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#if __APPLE__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue