From a248138cedaa1095907e9f9177f613a1940ae377 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 1 Jun 2010 05:40:03 +0000 Subject: Constant deprecation is disabled only on old IntelC, removed deprecation warnings with appropriate define instead of disabling warning via pragma git-svn-id: http://pugixml.googlecode.com/svn/trunk@489 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pugixml.hpp') diff --git a/src/pugixml.hpp b/src/pugixml.hpp index d278358..6f4cece 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -232,7 +232,7 @@ namespace pugi * * \deprecated This flag is deprecated */ -#ifndef __INTEL_COMPILER +#if !defined(__INTEL_COMPILER) || __INTEL_COMPILER > 800 PUGIXML_DEPRECATED #endif const unsigned int parse_wnorm_attribute = 0x0040; @@ -303,7 +303,7 @@ namespace pugi const unsigned int format_write_bom = 0x02; /// \deprecated This constant is deprecated and will be removed in future versions; use format_write_bom instead -#ifndef __INTEL_COMPILER +#if !defined(__INTEL_COMPILER) || __INTEL_COMPILER > 800 PUGIXML_DEPRECATED #endif const unsigned int format_write_bom_utf8 = format_write_bom; -- cgit v1.2.3