[BUG?] ICU 3.0, file remtrans.cpp // CodeWarrior + MACHO

Ruslan Zasukhin <[email protected]> Sat, 20 Nov 2004 18:25:18 +0200
Newsgroups gmane.comp.lib.icu.general
Message-ID <BDC53C8E.23DB3%[email protected]>
Hi All,

Another problem.

Error   : illegal name overloading
remtrans.cpp line 17   static const UChar ID[] = {65, 110, 121, 45, 0x52,
0x65, 0x6D, 0x6F, 0x76, 0x65, 0x00}; /* "Any-Remove" */

In this file in the global namespace is defined this array with name ID.

This name conflict with some other name from MacOS X I assume.
If I change name to ID2 in this file (3 places) then all compiles fine.

I think ICU developers can CHANGE this name to be more long and unique
than simple ID

The better 

    ICU_ID


P.S. I have check this is NOT a define.
I have try 
            #undef ID

Before array, but this now helps.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: [email protected]
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------