• 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: Other C Flags. Some confusion..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Other C Flags. Some confusion..


  • Subject: Re: Other C Flags. Some confusion..
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 15 Sep 2009 08:20:06 -0700


On Sep 15, 2009, at 7:59 AM, Stephen Northcott wrote:

I am using Other C Flags to try and define a value for conditional builds. (Xcode 3.1)
It works throughout the project more or less, but there are a few specific files that seem to ignore the setting, and I then have to work around that by providing the appropriate #define there manually.

Maybe they're C++ files? You have to put the flags in "Other C++ Flags" to expose them to the C++ compiler.


BTW, if all you're doing is adding some project-wide #defines, it's easier to use the "Preprocessor Macros" setting.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Other C Flags. Some confusion..
      • From: Stephen Northcott <email@hidden>
References: 
 >Other C Flags. Some confusion.. (From: Stephen Northcott <email@hidden>)

  • Prev by Date: Re: How to use gcc-4.3 (or 4.4) in Xcode?
  • Next by Date: Re: Other C Flags. Some confusion..
  • Previous by thread: Other C Flags. Some confusion..
  • Next by thread: Re: Other C Flags. Some confusion..
  • Index(es):
    • Date
    • Thread