Hi, >I am working on an image library with GNUstep and it has to define BOOL which >lcms also defined it so I have to remove the BOOL from lcms.h to make it compiled. >Would anyone please suggest me a comfortable way around this?
Ops, namespace clash ... nasty stuff. Since it is typedef'd, I cannot use #ifdef. A quick hack would be to place a #define before the #include #define BOOL LCMS_BOOL #include "lcms.h" Any better idea? Regards, Marti Maria The little cms project http://www.littlecms.com [EMAIL PROTECTED] ----- Original Message ----- From: "Banlu Kemiyatorn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 2:55 PM Subject: [Lcms-user] Have a problem with BOOL. Dear Sirs, I am working on an image library with GNUstep and it has to define BOOL which lcms also defined it so I have to remove the BOOL from lcms.h to make it compiled. Would anyone please suggest me a comfortable way around this? Best regards ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
