Re: A simple preprocessor question
Re: A simple preprocessor question
- Subject: Re: A simple preprocessor question
- From: alex <email@hidden>
- Date: Tue, 20 Mar 2007 13:20:36 -0700
Actually if you read what I wrote you would see what I was saying. In CodeWarrior you could define symbols based upon the compiler settings:
For instance psuedo code:
#pragma option( symbols )
#define DEBUG
#endif
alex
At 12:16 PM -0700 3/20/07, David Dunham wrote:
>On 20 Mar 2007, at 11:08, alex wrote:
>
>>In CodeWarrior you could define things based on compiler options, alot of people used to get DEBUG defined for free when the debug symbolics were turned on.
>>
>>I don't know if XCode does this sort of thing but I was thinking perhaps that's where the confusion lies.
>
>Like I said, it doesn't.
>
>And neither did CodeWarrior -- I've got the symbol defined in my prefix file in a random CodeWarrior project I just opened.
>
>>At 11:02 AM -0700 3/20/07, David Dunham wrote:
>>>On 20 Mar 2007, at 10:29, Shamyl Zakariya wrote:
>>>
>>>>In that case, is there any preprocessor constant that *is* defined when building a debug executable ( that isn't when building a release )?
>>>
>>>There's nothing special about the Debug target. You'll need to add your own symbols you want defined.
>
>
>David Dunham A Sharp, LLC
>Voice/Fax: 206 783 7404 http://a-sharp.com
>"People seem to misinterpret complexity as sophistication" -- Niklaus Wirth
>
>
>_______________________________________________
>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
_______________________________________________
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