PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2816 *** shadow/2816 Wed Jul 25 20:56:43 2001 --- shadow/2816.tmp.10179 Wed Jul 25 20:56:43 2001 *************** *** 0 **** --- 1,76 ---- + +============================================================================+ + | Numerous datatype headers cause CC error 1144 | + +----------------------------------------------------------------------------+ + | Bug #: 2816 Product: Xerces-C++ | + | Status: NEW Version: 1.5.1 | + | Resolution: Platform: HP | + | Severity: Critical OS/Version: HP-UX | + | Priority: Other Component: Validating Parser (Sche | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Many header files in validators/datatype cause the following + error when compiled with CC A.10.40 on HP-UX 10.20: + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/StringDatatypeValidator.hpp", + line 208: error: StringDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + + In StringDatatypeValidator.hpp, cleanup is declared: + void cleanup(); + then used: + inline StringDatatypeValidator::~StringDatatypeValidator() + { + cleanUp(); + } + and then defined: + inline void StringDatatypeValidator::cleanUp() + { + //~RefVectorOf will delete all adopted elements + if (fEnumeration && !fEnumerationInherited) + delete fEnumeration; + } + + CC A.10.40 does not like that. The error goes away if cleanup() is + defined before it is called anywhere else in the header. + Errors that may be similarly resolved include: + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/DecimalDatatypeValidator.hpp", + line 238: error: DecimalDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/HexBinaryDatatypeValidator.hpp", + line 236: error: HexBinaryDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/Base64BinaryDatatypeValidator.hpp", + line 236: error: Base64BinaryDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/NOTATIONDatatypeValidator.hpp", + line 227: error: NOTATIONDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/QNameDatatypeValidator.hpp", + line 241: error: QNameDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/ListDatatypeValidator.hpp", + line 249: error: ListDatatypeValidator::cleanUp() declared with external linkage + and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/ListDatatypeValidator.hpp", + line 327: error: ListDatatypeValidator::setContent() declared with external + linkage and called before defined as inline (1144) + CC: + +"/usr/tmp/gryffindor/xerces-c-src1_5_1/include/validators/datatype/UnionDatatypeValidator.hpp", + line 222: error: UnionDatatypeValidator::cleanUp() declared with external + linkage and called before defined as inline (1144) + make[2]: *** [DatatypeValidatorFactory.o] Error 1 + make[2]: Leaving directory + `/var/tmp/gryffindor/xerces-c-src1_5_1/src/validators/datatype' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
