[ 
http://issues.apache.org/jira/browse/XERCESC-1403?page=comments#action_62358 ]
     
Jesse Pelton commented on XERCESC-1403:
---------------------------------------

Whether or not you use such a macro doesn't matter; what's important is whether 
it's defined.  What happens if you build the Xerces sample apps?  If those 
build successfully, David's diagnosis is probably correct: your code includes 
(directly or indirectly) a header file that defines an error macro.

> Compilation error using the Xcerces
> -----------------------------------
>
>          Key: XERCESC-1403
>          URL: http://issues.apache.org/jira/browse/XERCESC-1403
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.6.0
>  Environment: $ uname -a
> SunOS <hostname> 5.8 Generic_117350-02 sun4u sparc SUNW,Ultra-60
> Compiler - SunWorkShop Forte 6 
>     Reporter: Praveen Maruvekere
>     Priority: Blocker

>
> I have downloaded the Xerces binaries for SUNOS 5.8. 
> I am trying to call some API's present in Xerces Shared object from my code 
> which is written in C++. 
> I am getting these compilation errors while compiling , the error is pretty 
> confusing 
> "<projectpath>/include/xcerces/xercesc/framework/XMLErrorReporter.hpp", line 
> 181: Warning: Too many arguments in macro error.
> "<projectpath>/include/xcerces/xercesc/framework/XMLErrorReporter.hpp", line 
> 182: Error: ")" expected instead of 
> "<projectpath>/include/xcerces/xercesc/framework/XMLErrorReporter.hpp"".
> "<projectpath>/include/xcerces/xercesc/framework/XMLErrorReporter.hpp", line 
> 182: Error: "," expected instead of "XMLCh".
> "/vobs/mynah/include/xcerces/xercesc/framework/XMLErrorReporter.hpp", line 
> 195: Error: Use ";" to terminate declarations.
> I checked the Header file XMLErrorReported.hpp it appeared fine to me. 
> Please help
> -Praveen

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to