summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Instance.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-11-26 11:16:50 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-11-26 11:16:50 +0100
commite853c7d7475f2931ed30ac8e850b2b657bc43d38 (patch)
treef4f6d163cae90b7f8aa4985e09c34979cf84706f /cpp/src/IceSSL/Instance.cpp
parentFix for building on 10.9 (diff)
downloadice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.tar.bz2
ice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.tar.xz
ice-e853c7d7475f2931ed30ac8e850b2b657bc43d38.zip
Fixed OpenSSL deprecation warning on OS X
Diffstat (limited to 'cpp/src/IceSSL/Instance.cpp')
-rw-r--r--cpp/src/IceSSL/Instance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/Instance.cpp b/cpp/src/IceSSL/Instance.cpp
index eb2ae99f78f..8f4bd4ff9e0 100644
--- a/cpp/src/IceSSL/Instance.cpp
+++ b/cpp/src/IceSSL/Instance.cpp
@@ -34,6 +34,11 @@
#include <IceUtil/DisableWarnings.h>
+// Ignore OS X OpenSSL deprecation warnings
+#ifdef __APPLE__
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
using namespace std;
using namespace Ice;
using namespace IceSSL;