Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-07 Thread Hans Leidekker
Marti Maria wrote: I'm considering as a solution to add a conditional #define named LCMS_WIN_TYPES_ALREADY_DEFINED That would only take effect on non-windows compilation. That could work for Wine, yes. And then use LCMS_VERSION to find out if the header supports this. If this special flag is

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-07 Thread Bob Friesenhahn
On Mon, 7 Feb 2005, Hans Leidekker wrote: Actually, there may be a problem in this regard. DWORD is defined as 'unsigned long' on Windows, Wine and MinGW whereas lcms.h defines it as 'unsigned int'. These definitions are compatible on 32 bit systems AFAICS, but I'm not sure about 64 bit systems.

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-07 Thread Marti Maria
- Original Message - From: Hans Leidekker [EMAIL PROTECTED] To: Bob Friesenhahn [EMAIL PROTECTED] Cc: Marti Maria [EMAIL PROTECTED]; Lcms-User lcms-user@lists.sourceforge.net Sent: Monday, February 07, 2005 6:15 PM Subject: Re: [Lcms-user] BOOL - LCMS_BOOL On Monday 7 February 2005

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-07 Thread Hans Leidekker
On Monday 7 February 2005 18:30, Marti Maria wrote: and placed into icc34.h AFAIK there are several ports of lcms running in 64 bit platforms without problems. Has to be seen what happens in XP64 :-) Yes, this can be dealt with later, until after the issue of source compatibility across 32 and

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-04 Thread Hans Leidekker
On Fri, 2005-02-04 at 08:07 +0100, Kai-Uwe Behrmann wrote: As X is an large project, I prefere to ask You in the first place. Would You mind to rename the typedef BOOL in the lcms header? This is a good opportunity for me to chime in. I am working on implementing the msmcs api in Wine on top

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-04 Thread Marti Maria
? Or just keep actual #defines untouched? Regards, Marti Maria The little cms project http://www.littlecms.com - Original Message - From: Kai-Uwe Behrmann [EMAIL PROTECTED] To: Lcms Liste lcms-user@lists.sourceforge.net Sent: Friday, February 04, 2005 8:07 AM Subject: [Lcms-user] BOOL

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-04 Thread Stefan Döhla
Hi Marti, Kai-Uwe, Hans and others, I obviously see your point. And agree BOOL and in general all windows-like types would pollute global namespace. My main concern is about breaking existing code. Let's take for example the tifficc utility. It just #includes the lcms header and then use BOOL,

Re: [Lcms-user] BOOL - LCMS_BOOL

2005-02-04 Thread Kai-Uwe Behrmann
, 2005 8:07 AM Subject: [Lcms-user] BOOL - LCMS_BOOL Marti, I found the typedef CARD8 BOOL in an X header. As X is an large project, I prefere to ask You in the first place. Would You mind to rename the typedef BOOL in the lcms header? I think it is no good idea

[Lcms-user] BOOL - LCMS_BOOL

2005-02-03 Thread Kai-Uwe Behrmann
Marti, I found the typedef CARD8 BOOL in an X header. As X is an large project, I prefere to ask You in the first place. Would You mind to rename the typedef BOOL in the lcms header? I think it is no good idea by the X project to use this type too. They should have known that someone else