I will preface this by saying I have no clue about OS X, but I remember
reading some changes were made to this code because of some new quirks
discovered in OS X Unicode support.

I see something a little odd in your compiler output:
MacOSUnicodeConverter.cpp line 79   static const XMLCh
MacOSUnicodeConverter.cpp line 84   tatic const XMLCh

Do you suppose a typo was introduced somehow?
I do not believe tatic is a valid keyword.

HTH!
Matt

-----Original Message-----
From: Patrick Perroud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 9:15 AM
To: [email protected]
Subject: [MacOS X/CodeWarrior 9.5] XercesLib 2.6 problem


Hello,

I have downloaded XercesLib sources from http://xml.apache.org, and I 
am now trying to compile the mach-o release target, with CodeWarrior 
9.5, on MacOS X 10.3.9, but failed so far with the following issues:
- - - - -
Error   : object 'xercesc_2_6::MacOSUnicodeConverter::fgMyServiceId' 
redefined
MacOSUnicodeConverter.cpp line 79   static const XMLCh
MacOSUnicodeConverter::fgMyServiceId[] = {

Error   : object 
'xercesc_2_6::MacOSUnicodeConverter::fgMacLCPEncodingName' redefined
MacOSUnicodeConverter.cpp line 84   tatic const XMLCh
MacOSUnicodeConverter::fgMacLCPEncodingName[] =
- - - - -

So apparently there is a problem in 2.6 with the MacOSUnicodeConverter 
class, that differs from version 2.4 by adding this in the class 
definition (under "private:"):
- - - - -
   static const XMLCh fgMyServiceId[];          // Name of the our unicode 
converter
   static const XMLCh fgMacLCPEncodingName[;    // Name of the LCP 
transcoder we create
- - - - -

With the following *implementation*:
- - - - -
static const XMLCh MacOSUnicodeConverter::fgMyServiceId[] = {
    chLatin_M, chLatin_a, chLatin_c, chLatin_O, chLatin_S, chNull
};

static const XMLCh MacOSUnicodeConverter::fgMacLCPEncodingName[] = {
         chLatin_M, chLatin_a, chLatin_c, chLatin_O, chLatin_S, chLatin_L
     ,   chLatin_C, chLatin_P, chLatin_E, chLatin_c, chLatin_o, chLatin_d
     ,   chLatin_i, chLatin_n, chLatin_g,  chNull
}
- - - - -

I have searched for *redifinitions* in XercesLib project, but didn't 
find any - so I suppose it's a kind of function member signature issue, 
but I can't see any difference between these class interfaces' 
signature and the signature of their actual implementations . . .

Everything else within that XercesLib 2.6 project did compile just fine 
- so that's too bad . . .

Any other idea or suggestion would be welcommed, indeed.

Best regards

Patrick Perroud


- - - - - - - - -
http://p.perroud.free.fr/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.


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

Reply via email to