From fd7959295b8abdd5bf744312cb2fe6278401a184 Mon Sep 17 00:00:00 2001 From: noloader Date: Mon, 29 Jun 2015 06:44:27 +0000 Subject: Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@555 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- filters.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'filters.cpp') diff --git a/filters.cpp b/filters.cpp index 083dfd3..09f9a95 100644 --- a/filters.cpp +++ b/filters.cpp @@ -11,6 +11,11 @@ #include #include +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wunused-value" +# pragma GCC diagnostic ignored "-Wunused-variable" +#endif + NAMESPACE_BEGIN(CryptoPP) Filter::Filter(BufferedTransformation *attachment) -- cgit v1.2.1