[ http://issues.apache.org/jira/browse/XERCESC-1489?page=comments#action_12320929 ]
James Berry commented on XERCESC-1489: -------------------------------------- David Ergo: changing that one member (fEnclosingScope ) seems like the answer. Can you test that and report whether it solves the problem for you? Are there other places where it needs to change? Most of the other references to scope seem to be unsigned int, which is why those constants got changed to UINT - ... in 2.7 and 3.0. -jdb > 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]
