OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] OS X BOOL conflict

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Tue Feb 23 2010 - 06:48:51 CST


2010/2/23 Marcus Andersson <marcus.anderssonprecisebiometrics.com>:
> On 2010-02-23 08:59, Ludovic Rousseau wrote:
>>
>> 2010/2/23 Marcus Andersson<marcus.anderssonprecisebiometrics.com>:
>>
>>>
>>> Hi,
>>>
>>> I get a conflict on the definition of BOOL on OS X 10.6. How is this best
>>> resolved?
>>>
>>>
>>> /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/PCSC.framework/Headers/wintypes.h:59:
>>> error: conflicting types for 'BOOL'
>>>
>>> /Developer/SDKs/MacOSX10.6.sdk/usr/include/objc/objc.h:43: error:
>>> previous
>>> declaration of 'BOOL' was here
>>>
>>
>> Just do not include wintypes.h in your source code.
>>
>
> That was not very convenient in my case. May I suggest a
>
> #ifndef OBJC_BOOL_DEFINED
>   typedef int16_t BOOL;
> #endif

You can suggest anything.
But if you want to change a Mac OS X file you should open a bug report
at Apple, not here.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle