From ce942286297102ec132bf68b67bfd2d4b5fc2d54 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 12 Jun 2010 11:09:47 +0000 Subject: Fixed IntelC warnings, removed unnecessary hack for BCC git-svn-id: http://pugixml.googlecode.com/svn/trunk@518 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/pugixml.cpp') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 6184f92..afd71c8 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -40,15 +40,13 @@ # pragma warning(disable: 4127) // conditional expression is constant #endif -#ifdef __BORLANDC__ -# pragma warn -8008 // condition is always false -# pragma warn -8066 // unreachable code +#ifdef __INTEL_COMPILER +# pragma warning(disable: 177) // function was declared but never referenced #endif #ifdef __BORLANDC__ -// BC workaround -using std::memmove; -using std::memcpy; +# pragma warn -8008 // condition is always false +# pragma warn -8066 // unreachable code #endif // uintptr_t -- cgit v1.2.3