diff options
author | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-30 16:03:47 +0100 |
commit | da8c267316512436ba19f28fa42510be305093f6 (patch) | |
tree | 935f3eefd77e909c847a44883fef38fce4bda48d /cpp/src/IceSSL/Certificate.cpp | |
parent | Merge branch 'master' of ssh://git/home/git/ice (diff) | |
download | ice-da8c267316512436ba19f28fa42510be305093f6.tar.bz2 ice-da8c267316512436ba19f28fa42510be305093f6.tar.xz ice-da8c267316512436ba19f28fa42510be305093f6.zip |
ICE-5804 - Warnings when building with GCC (Eliminate C style casts)
Diffstat (limited to 'cpp/src/IceSSL/Certificate.cpp')
-rw-r--r-- | cpp/src/IceSSL/Certificate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/Certificate.cpp b/cpp/src/IceSSL/Certificate.cpp index 197a6ee3c36..b2881824d3f 100644 --- a/cpp/src/IceSSL/Certificate.cpp +++ b/cpp/src/IceSSL/Certificate.cpp @@ -19,6 +19,10 @@ #if defined(ICE_USE_OPENSSL) # include <openssl/x509v3.h> # include <openssl/pem.h> +// +// Avoid old style cast warnings from OpenSSL macros +// +# pragma GCC diagnostic ignored "-Wold-style-cast" #elif defined(ICE_USE_SECURE_TRANSPORT) # include <Security/Security.h> #endif |