summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-19 18:30:24 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-19 18:30:24 +0000
commite618138b6755a28e25dc9ade76e7c75ec4c2d713 (patch)
treed8fb35468e7f7e83fbce6e47f0abb1b743b78e2e /src
parent0e84a0b5f4550ceb467afb78babecd678cd1d0c3 (diff)
Fixed deprecation warnings for IntelC
git-svn-id: http://pugixml.googlecode.com/svn/trunk@527 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp1
-rw-r--r--src/pugixpath.cpp4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 7de240f..2edc1c1 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -37,6 +37,7 @@
#ifdef __INTEL_COMPILER
# pragma warning(disable: 177) // function was declared but never referenced
+# pragma warning(disable: 1478 1786) // function was declared "deprecated"
#endif
#ifdef __BORLANDC__
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index 90ae9bd..136a90b 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -40,6 +40,10 @@ typedef __int32 int32_t;
# pragma warning(disable: 4996) // this function or variable may be unsafe
#endif
+#ifdef __INTEL_COMPILER
+# pragma warning(disable: 1478 1786) // function was declared "deprecated"
+#endif
+
#ifdef __SNC__
# pragma diag_suppress=237 // controlling expression is constant
#endif