#ifdef __BORLANDC__
# define ASM asm
# define RET(v) return(v)
#else
// VC++
# define ASM __asm
# define RET(v) return
#endif
should become:
#ifdef USE_ASSEMBLER
#ifdef __BORLANDC__
# define ASM asm
# define RET(v) return(v)
#else
// VC++
# define ASM __asm
# define RET(v) return
#endif
#endif
In general the less you can #define the better. How long do you think it will be before 1.09 is final?
PS this doesn't break anything for me but you really shouldn't do this because the prefix "__" is reserved for compiler symbols:
#define __cms_H
Martí Maria wrote:
Hi,I have a number of small patches that allow lcms to be used with
some other popular libraries, would you interested in incorporating them?
Of course! :-)
Ver 1.09 has some of these fixed, like HANDLE that now is typedef as
LCMSHANDLE. Qt does work with last revision. I hope with your changes
we would solve all remaining clashes.
Thanks
Marti
----- Original Message -----
From: "James Burgess" <[EMAIL PROTECTED]>
To: "Martí Maria" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 17, 2002 8:32 PM
Subject: Re: [Lcms-user] Release candidate for ver 1.09 in site
Marti,
I have a number of small patches that allow lcms to be used with
some other popular libraries, would you interested in incorporating them?
They boil down to collisions with typedef's and macro's that prevent you
from using lcms with Qt or parts of X11. My solution is to either to
prepend "LCMS_" to the symbol or in some cases be more specific about
#define'ing things.
Martí Maria wrote:Hello,
I've put a release candidate for incoming version 1.09 at:
http://www.littlecms.com/ver109.htm
This time first snapshot is linux one. The windows version is expected
to be there in a short, as well as the new profilers. Please, don't release any
RPM or siilar of this, since it could vary in order to solve last time issues.
Please report any problem to [EMAIL PROTECTED],
Thanks !
Martí Maria
The little cms project
http://www.littlecms.com
[EMAIL PROTECTED]
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer 's Conference
August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user
--
- james.
----------------------------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://thinkgeek.com/sf <<<
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user
----------------------------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://think geek.com/sf <<<
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user
--
- james.
