• 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: Use of preprocessor macros
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of preprocessor macros


  • Subject: Re: Use of preprocessor macros
  • From: Graham Cox <email@hidden>
  • Date: Wed, 2 Dec 2009 12:09:31 +1100

On 02/12/2009, at 12:04 PM, Luke the Hiesterman wrote:

> Don't you mean #ifdef foo rather than #if foo?


No, because foo=1 (In other builds foo=0)

But either way, the symbol itself is 'not defined'. I take that to mean that the compiler can't even see it, even though it was added to preprocessor macros.

--Graham


_______________________________________________

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

References: 
 >Use of preprocessor macros (From: Graham Cox <email@hidden>)
 >Re: Use of preprocessor macros (From: Luke the Hiesterman <email@hidden>)

  • Prev by Date: Re: Use of preprocessor macros
  • Next by Date: Re: Use of preprocessor macros
  • Previous by thread: Re: Use of preprocessor macros
  • Next by thread: Re: Use of preprocessor macros
  • Index(es):
    • Date
    • Thread