Re: XCode 2.1 Other C flags not working?
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