Re: DEUG vs RELEASE
Re: DEUG vs RELEASE
- Subject: Re: DEUG vs RELEASE
- From: Uli Kusterer <email@hidden>
- Date: Mon, 8 Oct 2007 23:19:50 +0200
Mike,
that's wrong. First, the DEBUG constant is not automatically
defined, and second, the C preprocessor only accepts #ifdef and
#endif, #IFDEF and #ENDIF will give you an error message about an
unrecognized preprocessor directive.
Am 08.10.2007 um 23:08 schrieb Mike Abdullah:
Yes, exactly what you just typed.
Mike.
On 8 Oct 2007, at 21:57, Sandro Noel wrote:
Greetings.
I want to do some console logging when i'm in debug mode.
but in release, of course, none (xept errors).
in delphi i used to check it like this
#IFDEF DEBUG
// do my debug related code here
#ENDIF
is there such an easy way to do it in Xcode ?
thanks.
Sandro Noel
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40mikeabdullah.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
email@hidden
This email sent to email@hidden
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden