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=9406>.
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=9406

gcc-3.0.4 build error in SolarisPlatformUtils.cpp

           Summary: gcc-3.0.4 build error in SolarisPlatformUtils.cpp
           Product: Xerces-C++
           Version: 1.7.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In util/XMLMsgLoader.hpp loadMsg() declared with unsigned int and
in util/MsgLoaders/MsgCatalog/MsgCatalogLoader.hpp it's overloaded with 
unsigned long parameters.

Configure is:
./runConfigure -psolaris -cgcc -xg++ -miconv -nsocket -tnative -rpthread

gcc-3.0.4 doesn't understand it and stops with following diagnostics:

g++ -fPIC -DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER -
DXML_USE_ICONV_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET  -
I/export/home/mike/RapidDRC/src/xerces-c-src1_7_0/include  -
o /export/home/mike/RapidDRC/src/xerces-c-
src1_7_0/obj/SOLARIS/SolarisPlatformUtils.o SolarisPlatformUtils.cpp
SolarisPlatformUtils.cpp: In static member function `static XMLMsgLoader* 
   XMLPlatformUtils::loadAMsgSet(const XMLCh*)':
SolarisPlatformUtils.cpp:177: cannot allocate an object of type 
   `MsgCatalogLoader'
SolarisPlatformUtils.cpp:177:   because the following virtual functions are 
   abstract:
/export/home/mike/RapidDRC/src/xerces-c-
src1_7_0/include/xercesc/util/XMLMsgLoader.hpp:135:     virtual
   bool XMLMsgLoader::loadMsg(unsigned int, XMLCh*, unsigned int)
/export/home/mike/RapidDRC/src/xerces-c-
src1_7_0/include/xercesc/util/XMLMsgLoader.hpp:146:     virtual
   bool XMLMsgLoader::loadMsg(unsigned int, XMLCh*, unsigned int, const 
XMLCh*, 
   const XMLCh* = 0, const XMLCh* = 0, const XMLCh* = 0)
/export/home/mike/RapidDRC/src/xerces-c-
src1_7_0/include/xercesc/util/XMLMsgLoader.hpp:157:     virtual
   bool XMLMsgLoader::loadMsg(unsigned int, XMLCh*, unsigned int, const char*, 
   const char* = 0, const char* = 0, const char* = 0)
make[3]: *** [SolarisPlatformUtils.o] Error 1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to