diff --git a/src/pugixml.hpp b/src/pugixml.hpp index 6e3fc994e7abbdfb2e179537f4eb039aec988c34..2206450e91ccda2b082577e40e66df43c4cabf1b 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -292,7 +292,10 @@ 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 - PUGIXML_DEPRECATED const unsigned int format_write_bom_utf8 = format_write_bom; +#ifndef __INTEL_COMPILER + PUGIXML_DEPRECATED +#endif + const unsigned int format_write_bom_utf8 = format_write_bom; /** * If this flag is on, no indentation is performed and no line breaks are written to output file. diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp index f401fbde0056c905e4b98f47892272bbcf0282c6..691b40a038a3ae00f9365869c853a7c7b1940384 100644 --- a/tests/test_deprecated.cpp +++ b/tests/test_deprecated.cpp @@ -44,7 +44,8 @@ TEST(document_parse_transfer_ownership) CHECK(doc.parse(transfer_ownership_tag(), text)); CHECK_NODE(doc, STR("<node />")); } - + +#ifndef PUGIXML_NO_STL // as_utf16 - it's now as_wide TEST(as_utf16) { @@ -57,3 +58,4 @@ TEST(as_utf16) CHECK(as_utf16("?\xd0\x80\xe2\x80\xbd") == L"?\x0400\x203D"); #endif } +#endif