Re: XCode Settings
Re: XCode Settings
- Subject: Re: XCode Settings
- From: Uli Kusterer <email@hidden>
- Date: Sat, 9 Dec 2006 22:32:15 +0100
Am 09.12.2006 um 22:13 schrieb Sandro Noel:
#ifdef DEBUG
NSLog(@"say something");
#endif
But that does not work unless i define the #define DEBUG
Have you tried #if DEBUG ? I think it's defined to 0 or 1, not
defined or not defined.
Alternately, if that doesn't work either, you could just add -
DDEBUG=1 to the additional C compiler flags of the debug build
configuration.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden