[ 
http://issues.apache.org/jira/browse/XERCESC-1489?page=comments#action_12320878 
] 

David Ergo commented on XERCESC-1489:
-------------------------------------

Just change the definitions of UNKNOWN_SCOPE and TOP_LEVEL_SCOPE from UINT_MAX 
- 0 and UINT_MAX - 1 to INT_MAX - 0 and INT_MAX - 1
in file src/xercesc/validators/common/Grammar.hpp, at lines 69/70

(They were signed integers in v2.6.0)

David

> Annoying compiler warnings
> --------------------------
>
>          Key: XERCESC-1489
>          URL: http://issues.apache.org/jira/browse/XERCESC-1489
>      Project: Xerces-C++
>         Type: Bug
>   Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>     Versions: 2.7.0
>  Environment: RedHat Linux 7.3, g++ v3.3.3
>     Reporter: David Ergo
>     Priority: Minor

>
> When compiling a program with #include <xercesc/sax2/XMLReaderFactory.hpp>, 
> like SAX2Count, with warnings enabled (-Wall instead of -w), we get the 
> following compiler warning :
> /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp: 
> In
>    member function `virtual bool 
> xercesc_2_7::SchemaElementDecl::isGlobalDecl()
>    const':
> /usr/local/xerces-c/include/xercesc/validators/schema/SchemaElementDecl.hpp:508:
>  warning: comparison
>    between signed and unsigned integer expressions

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to