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

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

If the proposed patch breaks grammars then revert to 2.6.0 definition, which 
produce no warning.
    enum {
         UNKNOWN_SCOPE = -2
       , TOP_LEVEL_SCOPE = -1
    };
 

> 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