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=5847>. 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=5847 ICUMsgLoader can't be compiled with gcc 3.0.3 and ICU2 Summary: ICUMsgLoader can't be compiled with gcc 3.0.3 and ICU2 Product: Xerces-C++ Version: 1.6.0 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Build AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] when compiling default code, class ResourceBundle is not fetched from unicode/resbund.h, only forward declaration is seen by compiler. it says ICUMsgLoader.cpp: In constructor `ICUMsgLoader::ICUMsgLoader(const XMLCh*)': ICUMsgLoader.cpp:122: parse error before `(' token ICUMsgLoader.cpp: In destructor `virtual ICUMsgLoader::~ICUMsgLoader()': ICUMsgLoader.cpp:131: invalid use of undefined type `class ResourceBundle' ICUMsgLoader.hpp:89: forward declaration of `class ResourceBundle' ICUMsgLoader.cpp: In member function `virtual bool ICUMsgLoader::loadMsg(unsigned int, XMLCh*, unsigned int)': ICUMsgLoader.cpp:159: invalid use of undefined type `class ResourceBundle' ICUMsgLoader.hpp:89: forward declaration of `class ResourceBundle' make: *** [ICUMsgLoader.o] Error 1 switching order of #include "ICUMsgLoader.hpp" and #include "unicode/resbund.h" helps. I'm not a c++ guru - maybe it's lamers fix, of course =) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
