• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode Settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Settings


  • Subject: Re: XCode Settings
  • From: Sandro Noel <email@hidden>
  • Date: Sat, 9 Dec 2006 16:43:41 -0500

Uli,
The second solution worked , thank you!
Thank you!

Sandro Noel.

On 9-Dec-06, at 4:32 PM, Uli Kusterer wrote:

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


References: 
 >XCode Settings (From: Sandro Noel <email@hidden>)
 >Re: XCode Settings (From: Uli Kusterer <email@hidden>)

  • Prev by Date: strangeness in interface builder
  • Next by Date: Simple scope check.
  • Previous by thread: Re: XCode Settings
  • Next by thread: strangeness in interface builder
  • Index(es):
    • Date
    • Thread