Hi.
I had this same problem the last week, I don't know what is the cause (I'm a beginner codewarrior programmer ). But I solve it moving the array implementation into class definition (in .hpp). I don't know if it's a good solution but it seems to work.
----- Original Message ----- From: "James Berry" <[EMAIL PROTECTED]>
To: "Peter Thomas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 2004 3:56 PM
Subject: Re: Building Xerces with CodeWarrior 9.x
Hi Peter,
I confess to having let the codewarrior ports lapse, to some degree. I don't own CodeWarrior 9, and so haven't been testing in that environment. If you have any patches to contribute I'd be happy to get them into the xerces source...
It looks like CodeWarrior may be complaining about the boundless array definition. What if you were to change those into pointers rather than unspec'd arrays?
-jdb
On Nov 16, 2004, at 1:19 AM, Peter Thomas wrote:
Hi,
I've managed to successfully build Xerces with CodeWarrior 8.0, however when I try and build it using 9.2 (and 9.3) I get the following errors:
=======
Error : object 'xercesc_2_6::MacOSUnicodeConverter::fgMyServiceId' redefined
MacOSUnicodeConverter.cpp line 78 icodeConverter::fgMyServiceId[] =
Error : object 'xercesc_2_6::MacOSUnicodeConverter::fgMacLCPEncodingName' redefined
MacOSUnicodeConverter.cpp line 84 nverter::fgMacLCPEncodingName[] =
=======
I've traced through the source and I'm guessing this is a compiler issue, has anyone else successfully built Xerces on CodeWarrior 9.x?
Cheers
Pete
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]