summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2012-08-09 17:05:42 -0400
committerBernard Normier <bernard@zeroc.com>2012-08-09 17:05:42 -0400
commita9e44ca45db29a778490b52f4e6b7717e1ca93de (patch)
tree293fb8f892f096c49fc8f151be0af34181ed7c26 /cpp/src
parentFixed file permission (diff)
downloadice-a9e44ca45db29a778490b52f4e6b7717e1ca93de.tar.bz2
ice-a9e44ca45db29a778490b52f4e6b7717e1ca93de.tar.xz
ice-a9e44ca45db29a778490b52f4e6b7717e1ca93de.zip
Cleaned up warning-disabling on Windows
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/DefaultsAndOverrides.cpp1
-rw-r--r--cpp/src/Ice/LocatorInfo.cpp1
-rw-r--r--cpp/src/Ice/Network.cpp1
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp1
-rw-r--r--cpp/src/IceGrid/InternalRegistryI.cpp1
-rw-r--r--cpp/src/IceGrid/ServerCache.cpp1
-rwxr-xr-xcpp/src/IceGrid/ServerI.cpp1
-rw-r--r--cpp/src/iceserviceinstall/ServiceInstaller.cpp3
-rwxr-xr-xcpp/src/slice2confluence/Gen.cpp4
-rwxr-xr-xcpp/src/slice2html/Gen.cpp4
10 files changed, 8 insertions, 10 deletions
diff --git a/cpp/src/Ice/DefaultsAndOverrides.cpp b/cpp/src/Ice/DefaultsAndOverrides.cpp
index 43e654463f8..7914e17a5a1 100644
--- a/cpp/src/Ice/DefaultsAndOverrides.cpp
+++ b/cpp/src/Ice/DefaultsAndOverrides.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <Ice/DefaultsAndOverrides.h>
#include <Ice/Properties.h>
#include <Ice/Network.h>
diff --git a/cpp/src/Ice/LocatorInfo.cpp b/cpp/src/Ice/LocatorInfo.cpp
index 9d5442d6409..15c78d1fcd7 100644
--- a/cpp/src/Ice/LocatorInfo.cpp
+++ b/cpp/src/Ice/LocatorInfo.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <Ice/LocatorInfo.h>
#include <Ice/Locator.h>
#include <Ice/LocalException.h>
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index 1258fa186a9..3a2f6d402e3 100644
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -17,6 +17,7 @@
# include <netinet/in.h>
#endif
+#include <IceUtil/DisableWarnings.h>
#include <Ice/Network.h>
#include <IceUtil/StringUtil.h>
#include <IceUtil/Unicode.h>
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 007d1c275a2..a5bfa8c4af8 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <Ice/OutgoingAsync.h>
#include <Ice/Object.h>
#include <Ice/ConnectionI.h>
diff --git a/cpp/src/IceGrid/InternalRegistryI.cpp b/cpp/src/IceGrid/InternalRegistryI.cpp
index 02134635c90..8d5f7b081ed 100644
--- a/cpp/src/IceGrid/InternalRegistryI.cpp
+++ b/cpp/src/IceGrid/InternalRegistryI.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <Ice/Ice.h>
#include <IceGrid/RegistryI.h>
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp
index df7bcd37325..d9be593a4af 100644
--- a/cpp/src/IceGrid/ServerCache.cpp
+++ b/cpp/src/IceGrid/ServerCache.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <Ice/LoggerUtil.h>
#include <Ice/Communicator.h>
#include <Ice/LocalException.h>
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index ea53de6b671..1eb80d965f3 100755
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -7,6 +7,7 @@
//
// **********************************************************************
+#include <IceUtil/DisableWarnings.h>
#include <IceUtil/FileUtil.h>
#include <Ice/Ice.h>
#include <Ice/Instance.h>
diff --git a/cpp/src/iceserviceinstall/ServiceInstaller.cpp b/cpp/src/iceserviceinstall/ServiceInstaller.cpp
index dd046a0755a..0eb36071ddb 100644
--- a/cpp/src/iceserviceinstall/ServiceInstaller.cpp
+++ b/cpp/src/iceserviceinstall/ServiceInstaller.cpp
@@ -7,8 +7,7 @@
//
// **********************************************************************
-#define _CRT_SECURE_NO_DEPRECATE 1 // C4996 '<C function>' was declared deprecated
-
+#include <IceUtil/DisableWarnings.h>
#include <ServiceInstaller.h>
#include <IceUtil/StringUtil.h>
#include <IceUtil/FileUtil.h>
diff --git a/cpp/src/slice2confluence/Gen.cpp b/cpp/src/slice2confluence/Gen.cpp
index 80459a650df..42425db59cd 100755
--- a/cpp/src/slice2confluence/Gen.cpp
+++ b/cpp/src/slice2confluence/Gen.cpp
@@ -7,10 +7,6 @@
//
// **********************************************************************
-#if defined(_MSC_VER)
-# define _CRT_SECURE_NO_DEPRECATE 1 // C4996 '<C function>' was declared deprecated
-#endif
-
#include <IceUtil/DisableWarnings.h>
#include <IceUtil/Functional.h>
#include <IceUtil/StringUtil.h>
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 6472f661e45..08eed8b4cf6 100755
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -7,10 +7,6 @@
//
// **********************************************************************
-#if defined(_MSC_VER)
-# define _CRT_SECURE_NO_DEPRECATE 1 // C4996 '<C function>' was declared deprecated
-#endif
-
#include <IceUtil/DisableWarnings.h>
#include <IceUtil/Functional.h>
#include <IceUtil/StringUtil.h>