Fixed deprecation warnings for IntelC

git-svn-id: http://pugixml.googlecode.com/svn/trunk@527 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-06-19 18:30:24 +00:00
parent 0e84a0b5f4
commit e618138b67
2 changed files with 5 additions and 0 deletions

View File

@ -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__

View File

@ -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