[ 
http://issues.apache.org/jira/browse/XERCESC-1403?page=comments#action_62355 ]
     
Praveen Maruvekere commented on XERCESC-1403:
---------------------------------------------

Well, I am vrey much sure that I am not using any macro called "error"
The header file "XMLErrorReporter.hpp" has a virtual function called "error"

But the declaration seems fine to me 

Here is the snippet of that file 
.....
   177      virtual void error
   178      (
   179          const   unsigned int        errCode
   180          , const XMLCh* const        errDomain
   181          , const ErrTypes            type
   182          , const XMLCh* const        errorText
   183          , const XMLCh* const        systemId
   184          , const XMLCh* const        publicId
   185          , const XMLSSize_t          lineNum
   186          , const XMLSSize_t          colNum
   187      ) = 0;
   188
.....

-Praveen

> 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