summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-12 11:09:47 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-12 11:09:47 +0000
commitce942286297102ec132bf68b67bfd2d4b5fc2d54 (patch)
treea56be1314af4ec450cb2e87a738c8aaa5cff1307
parenta562014cc24ff060266de8c3cc951263e4efa750 (diff)
Fixed IntelC warnings, removed unnecessary hack for BCC
git-svn-id: http://pugixml.googlecode.com/svn/trunk@518 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--src/pugixml.cpp10
1 files changed, 4 insertions, 6 deletions
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