DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7336>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7336 3 minor issues with C++ Builder (ver 5.02) build Summary: 3 minor issues with C++ Builder (ver 5.02) build Product: Xerces-C++ Version: 1.7.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Build AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Three classes: XMLReader, NodeImpl and DOMString declare static data members in the .hpp file, then try to initialize those members in the .cpp file. C++ Builder version 5.02 doesn't like this; it gives a compile-time error: "cannot initialize member here". I moved the initialization data into the .hpp file (after the class declaration) and all was well. The specific members are: XMLByte XMLReader::fgCharCharsTable[0x10000] = { ... }; int NodeImpl::gLiveNodeImpls = 0; // Counters for debug & tuning. int NodeImpl::gTotalNodeImpls= 0; int DOMString::gLiveStringDataCount = 0; int DOMString::gTotalStringDataCount = 0; int DOMString::gLiveStringHandleCount = 0; int DOMString::gTotalStringHandleCount = 0; Thanks! Jef Duncan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
