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

George Rhoten <[email protected]> Mon, 22 Nov 2004 10:32:32 -0800
Newsgroups gmane.comp.lib.icu.general
Message-ID <OFA834E5DD.145791A4-ON86256F54.0065C95E-88256F54.0065D5BF@us.ibm.com>
This should have also been fixed in ICU 3.2, which is currently in beta 
and released soon.

George Rhoten
IBM Globalization Center of Competency/ICU  San José, CA, USA



Ruslan Zasukhin <[email protected]> 
Sent by: [email protected]
11/20/2004 08:25 AM

To
"[email protected]" <[email protected]>, 
"[email protected]" 
<[email protected]>
cc

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






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
-------------------------------------------------------------


_______________________________________________
icu mailing list
[email protected]
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu