From da8c267316512436ba19f28fa42510be305093f6 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 30 Oct 2014 16:03:47 +0100 Subject: ICE-5804 - Warnings when building with GCC (Eliminate C style casts) --- cpp/src/IceSSL/Util.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/src/IceSSL/Util.cpp') diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 4150f377b8e..0f7ba1186b2 100644 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -22,6 +22,10 @@ #ifdef ICE_USE_OPENSSL # include +// +// Avoid old style cast warnings from OpenSSL macros +// +# pragma GCC diagnostic ignored "-Wold-style-cast" #endif using namespace std; -- cgit v1.2.3