• 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
#if for current SDK...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#if for current SDK...?


  • Subject: #if for current SDK...?
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 1 Nov 2007 16:33:33 -0400

At the moment, I am building against the 10.4 SDK and thought it would be a good idea to place things like:

#if <am I using the 10.5 SDK>
#error <a way the code can now be improved>
#endif

in the code so I can have the compiler keep track of various spots in the code which can be improved when I start using the 10.5 SDK.

But, I am not sure what '<am I using the 10.5 SDK>' should be.

Now I've used the -dM function to see if I could find anything obvious, but nothing is jumping out at me.

Anyone know the answer (assuming it is possible)?

_______________________________________________
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: #if for current SDK...?
      • From: Chris Espinosa <email@hidden>
    • Re: #if for current SDK...?
      • From: Jens Ayton <email@hidden>
  • Prev by Date: Re: Xcode 3.0 remarks
  • Next by Date: Re: #if for current SDK...?
  • Previous by thread: Re: atos and DWARF
  • Next by thread: Re: #if for current SDK...?
  • Index(es):
    • Date
    • Thread