You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2003/07/08 02:18:47 UTC
cvs commit: xml-xalan/c/src/xalanc/XercesParserLiaison XercesDOMException.cpp
dbertoni 2003/07/07 17:18:47
Modified: c/src/xalanc/XercesParserLiaison XercesDOMException.cpp
Log:
Work-around for the Intel v6 compiler.
Revision Changes Path
1.3 +5 -0 xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.cpp
Index: XercesDOMException.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XercesParserLiaison/XercesDOMException.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XercesDOMException.cpp 1 Jul 2003 01:10:39 -0000 1.2
+++ XercesDOMException.cpp 8 Jul 2003 00:18:47 -0000 1.3
@@ -70,6 +70,10 @@
static XercesDOMException::ExceptionCode
translateErrorCode(ExceptionType theException)
{
+ // Ugly hack for a bug in the Intel v6 compiler...
+#if __INTEL_COMPILER <= 600
+ return XercesDOMException::ExceptionCode(theException.code);
+#else
XercesDOMException::ExceptionCode theXalanCode = XercesDOMException::UNKNOWN_ERR;
switch(theException.code)
@@ -140,6 +144,7 @@
};
return theXalanCode;
+#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org