[ http://issues.apache.org/jira/browse/XERCESC-1403?page=comments#action_62369 ] David Bertoni commented on XERCESC-1403: ----------------------------------------
Did you even read the compiler diagnostics you posted? > "<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"". It says: "Warning: Too many arguments in macro error." My guess is somewhere in your code, a macro called "error" has been defined, and it is creating a conflict with the virtual member function error() in XMLErrorReporter. > 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]