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

Re: XCode 2.1 Other C flags not working?


  • Subject: Re: XCode 2.1 Other C flags not working?
  • From: Eric Long <email@hidden>
  • Date: Wed, 08 Jun 2005 21:19:40 -0700

> Has anyone else seen this?

There's an odd bug in 2.1 related to this and Preprocessor Macros and
quoting.  I don't know if this is what you are experiencing.

I've logged bug #4143035 in Radar about the problem.

What happens is if you define something like this:

-DDEBUG_ASSERT_COMPONENT_NAME_STRING="myApp.app"

The setting only holds until you close the project. The next time you open
the project Xcode changes it to:

-DDEBUG_ASSERT_COMPONENT_NAME_STRING=myApp.app

If entered as Preprocessor Macros, you might see something like this in the
pbxproj file when the settings are not munged:

GCC_PREPROCESSOR_DEFINITIONS = (
"COMPONENT_SIGNATURE='\\?\\?\\?\\?'",
"kComponentSignatureString=\"MyApp.app\"",
"DEBUG_ASSERT_COMPONENT_NAME_STRING=\"MyApp.app\"",
);

But then after Xcode futzes it up, you get:

GCC_PREPROCESSOR_DEFINITIONS = (
"COMPONENT_SIGNATURE=????",
"kComponentSignatureString=MyApp.app",
"DEBUG_ASSERT_COMPONENT_NAME_STRING=MyApp.app",
);

And things fall apart.


Eric Long

___________________________________________________________________________
Macintosh Software Engineer

Allume Systems, Inc.                           http://www.allume.com
245 Westridge Drive, Watsonville, CA 95076      (831) 761-6200 x628

 _______________________________________________
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

References: 
 >XCode 2.1 Other C flags not working? (From: Wade Williams <email@hidden>)

  • Prev by Date: Re: Linking with libraries in SDKs
  • Next by Date: Carbon is confused about search paths
  • Previous by thread: Re: XCode 2.1 Other C flags not working?
  • Next by thread: Xcode 2.1 debugger grief
  • Index(es):
    • Date
    • Thread