• 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: Marco S Hyman <email@hidden>
  • Date: Tue, 1 Dec 2009 17:21:14 -0800

> I'm defining a preprocessor macro in the 'GCC 4.2 - Preprocessing / preprocessor macros' section of my project's build properties, e.g. foo=1. This is set only in the debug version.

I'm pretty sure that worked with 4.2.   Currently I've a
project using CLANG and "GCC_PREPROCESSOR_DEFINITIONS = FOO=1"
in the Debug configuration works.  In the code I'm testing..

	#if FOO == 0
	...
	#endif

/\/\arc

_______________________________________________

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>)

  • 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