• 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: A simple preprocessor question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >A simple preprocessor question (From: Shamyl Zakariya <email@hidden>)
 >Re: A simple preprocessor question (From: alex <email@hidden>)
 >Re: A simple preprocessor question (From: Shamyl Zakariya <email@hidden>)
 >Re: A simple preprocessor question (From: David Dunham <email@hidden>)
 >Re: A simple preprocessor question (From: alex <email@hidden>)
 >Re: A simple preprocessor question (From: David Dunham <email@hidden>)

  • Prev by Date: Re: A simple preprocessor question
  • Next by Date: FW: how do I attach to a running process in xcode - simple instructionsdon't work
  • Previous by thread: Re: A simple preprocessor question
  • Next by thread: Re: A simple preprocessor question
  • Index(es):
    • Date
    • Thread