• 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
XCode 2.1 Other C flags not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 2.1 Other C flags not working?


  • Subject: XCode 2.1 Other C flags not working?
  • From: Wade Williams <email@hidden>
  • Date: Wed, 8 Jun 2005 16:41:19 -0500

Hopefully, I'm not missing something incredibly simple.

I've just installed XCode 2.1.

I created a new test Cocoa app. I defined Other C Flags in the debug configuration to be "-Dmyflag". I did this in a header:

#if !defined(myflag)
#error flag not defined
#endif

I ran a build using the Debug configuration. It stopped with an #error. I also checked the output of the command line and did not see the -Dmyflag passed anywhere in the command-line output.

Am I missing something simple? Is there some reason the configuration "Other C flags" did not cascade down to my target's build? (Obviously, I could define it in the target, but I don't want to have to define it in every target.)

Has anyone else seen this?

Wade
_______________________________________________
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: XCode 2.1 Other C flags not working?
      • From: Eric Long <email@hidden>
    • Re: XCode 2.1 Other C flags not working?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Problem compiling after upgrade to XCode 2.1
  • Next by Date: Xcode 2.1 debugger grief
  • Previous by thread: Re: Problem compiling after upgrade to XCode 2.1
  • Next by thread: Re: XCode 2.1 Other C flags not working?
  • Index(es):
    • Date
    • Thread