mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 00:58:14 +08:00
fixed: win32 warnings.
This commit is contained in:
@@ -20,14 +20,20 @@
|
||||
#include "ECryptoMode.h"
|
||||
#include "CString.h"
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wtautological-compare"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#endif
|
||||
|
||||
#include <cryptopp562/gcm.h>
|
||||
#include <cryptopp562/modes.h>
|
||||
#include <cryptopp562/aes.h>
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
//! Encapsulation of modes
|
||||
/*!
|
||||
|
||||
@@ -21,12 +21,17 @@
|
||||
#include "CStreamFilter.h"
|
||||
#include "CCryptoMode.h"
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wall"
|
||||
#endif
|
||||
|
||||
#include <cryptopp562/osrng.h>
|
||||
#include <cryptopp562/sha.h>
|
||||
|
||||
#if SYSAPI_UNIX
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
class CCryptoOptions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user