1) When in doubt, use C4! (actually, plain old dynamite should work just fine!)
2) Shoot the (idiot) developer of the C++ code for doing that (may result in 
serious jail time...)
3) Fuggedabouddit!
4) Wait for ObjC 3.0 and hope it has a feature to isolate badly written (or 
named) code in a namespace...

On May 1, 2012, at 6:44 AM, Andreas Grosam wrote:

> I want to use a C++ software library which uses class names "nil" and "Nil" 
> for a Cocoa application.
> 
> Including the headers will fail due to name conflicts with the macros "Nil" 
> and "nil".
> 
> What are my options?
> 
> 
> Regards
> Andreas
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/wsquires%40satx.rr.com
> 
> This email sent to wsqui...@satx.rr.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to