From a14a5696e1d0361c370da817ed9531f71e5dc3d2 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 29 Jun 2015 02:09:02 -0400 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 --- wake.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wake.cpp') diff --git a/wake.cpp b/wake.cpp index e0f194e6..0fd8ca38 100644 --- a/wake.cpp +++ b/wake.cpp @@ -3,6 +3,11 @@ #include "pch.h" #include "wake.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wunused-value" +# pragma GCC diagnostic ignored "-Wunused-variable" +#endif + NAMESPACE_BEGIN(CryptoPP) void WAKE_TestInstantiations() -- cgit v1.2.1