RE: Compiling on Mac OS X
Venkatram Vundavalli <[email protected]>
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <7D5800A5B6E26644B2EB7A862856B0D40A7971D6@SARASWATI> |
Hello Steven, I have made the change as per your suggestion and build ICU. Ran test suite(i.e. runConfigureICU check). All the tests passed. Could you please file the bug. I really appreciate your help. thanks Venkat -----Original Message----- From: Steven R. Loomis [mailto:[email protected]] Sent: Thursday, September 11, 2003 8:31 PM To: Venkatram Vundavalli Cc: Zartaj T. Majeed; [email protected] Subject: Re: Compiling on Mac OS X On Thursday, September 11, 2003, at 04:52 AM, Venkatram Vundavalli wrote: > Hi, > Thanks for your responses. Even though I installed ICU package using > gcc and > not thru Code Warrior, I was getting this error. > > This is because of the flag __MWERKS__ and I was able to solve my > errors by > undefined __MWERKS__ before including unistr.h. > > I think the flag __MWERKS__ is defined by Code Warrior. It is not the > right > flag to identify Mac Classic. > May I say it is a bug? I agree, there should be another way to detect Classic. yes., if you like, could you file it on http://www.jtcsv.com/cgibin/icu-bugs please ? if not, I can file it. could you try changing it to: #elif defined(__MWERKS__) && !defined(__MACH__) and see if that works. Regards, Steven