From e618138b6755a28e25dc9ade76e7c75ec4c2d713 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 19 Jun 2010 18:30:24 +0000 Subject: Fixed deprecation warnings for IntelC git-svn-id: http://pugixml.googlecode.com/svn/trunk@527 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 1 + src/pugixpath.cpp | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3