diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-11-26 11:16:50 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-11-26 11:16:50 +0100 |
commit | e853c7d7475f2931ed30ac8e850b2b657bc43d38 (patch) | |
tree | f4f6d163cae90b7f8aa4985e09c34979cf84706f /cpp/src/IcePatch2Lib/Util.cpp | |
parent | Fix for building on 10.9 (diff) | |
download | ice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.tar.bz2 ice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.tar.xz ice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.zip |
Fixed OpenSSL deprecation warning on OS X
Diffstat (limited to 'cpp/src/IcePatch2Lib/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch2Lib/Util.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2Lib/Util.cpp b/cpp/src/IcePatch2Lib/Util.cpp index 576c8889c99..2bad50ed0b8 100644 --- a/cpp/src/IcePatch2Lib/Util.cpp +++ b/cpp/src/IcePatch2Lib/Util.cpp @@ -34,6 +34,11 @@ #include <iterator> +// Ignore OS X OpenSSL deprecation warnings +#ifdef __APPLE__ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + const char* IcePatch2::checksumFile = "IcePatch2.sum"; const char* IcePatch2::logFile = "IcePatch2.log"; |