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