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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to