Hey All,
I get the following errors compiling on linux (2.4.8), with gcc
(2.95.4)
LinuxPlatformUtils.cpp: In function `static class XMLMsgLoader *
XMLPlatformUtils::loadAMsgSet(const XMLCh *)':
LinuxPlatformUtils.cpp:356: cannot allocate an object of type `ICUMsgLoader'
LinuxPlatformUtils.cpp:356: since the following virtual functions are abstract:
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:132: bool
XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int)
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:143: bool
XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int, const XMLCh *, const XMLCh
* = 0, const XMLCh * = 0, const XMLCh * = 0)
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:154: bool
XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int, const char *, const char *
= 0, const char * = 0, const char * = 0)
LinuxPlatformUtils.cpp: In function `static void XMLPlatformUtils::closeMutex(void *)':
and:
ICUMsgLoader.cpp:91: resbund.h: No such file or directory
This is easily fixed by making it #include "unicode/resbund.h" but
then you get the following error:
ICUMsgLoader.cpp: In method `ICUMsgLoader::ICUMsgLoader(const XMLCh *)':
ICUMsgLoader.cpp:115: `tmpPath' undeclared (first use this function)
tmpPath gets defined in the following files, but nothing for linux.
./util/Platforms/OS2/OS2PlatformUtils.cpp
./util/Platforms/Win32/Win32PlatformUtils.cpp
./util/Platforms/Tandem/TandemPlatformUtils.cpp
and
ICUMsgLoader.cpp: In method `bool ICUMsgLoader::loadMsg(unsigned int, XMLCh *, long
unsigned int)':
ICUMsgLoader.cpp:148: no matching function for call to `ResourceBundle::getString
(UnicodeString &, UErrorCode &)'
/home/jasons/build/icu/include/unicode/resbund.h:233: candidates are: class
UnicodeString ResourceBundle::getString(UErrorCode &) const
It seems that no one has tried to build Xerces with ICU on linux
before...
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]