summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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