Attempting to clear unknown pragma warning under GCC 5.1. This might be a compiler bug...
parent
c33a567654
commit
e522574ddd
13
rw.cpp
13
rw.cpp
|
|
@ -11,12 +11,17 @@
|
||||||
|
|
||||||
#ifndef CRYPTOPP_IMPORTS
|
#ifndef CRYPTOPP_IMPORTS
|
||||||
|
|
||||||
#ifdef _OPENMP
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
static const bool CRYPTOPP_RW_USE_OMP = false;
|
# pragma GCC diagnostic push
|
||||||
|
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
|
#ifdef _OPENMP
|
||||||
|
static const bool CRYPTOPP_RW_USE_OMP = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
void RWFunction::BERDecode(BufferedTransformation &bt)
|
void RWFunction::BERDecode(BufferedTransformation &bt)
|
||||||
{
|
{
|
||||||
BERSequenceDecoder seq(bt);
|
BERSequenceDecoder seq(bt);
|
||||||
|
|
@ -284,4 +289,8 @@ void InvertibleRWFunction::AssignFrom(const NameValuePairs &source)
|
||||||
|
|
||||||
NAMESPACE_END
|
NAMESPACE_END
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue