• 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: Panther/Xcode and availability macros
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Panther/Xcode and availability macros


  • Subject: Re: Panther/Xcode and availability macros
  • From: Clark Cox <email@hidden>
  • Date: Mon, 3 Nov 2003 08:22:11 -0500

On Nov 02, 2003, at 21:45, Julien Dufour wrote:

> Hello
>
> I have recently moved under Panther/Xcode, and I'm now getting
> troubles using the availability macros, at least with the AppKit
> framework. It seems that the MAC_OS_X_VERSION_MAX_ALLOWED setting has
> just become unusable.
>
> Mac OS X 10.3 has introduced new type definitions which are correctly
> enclosed by some check like:
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
> ...
> #endif
>
> However, those new types are later used in other declarations which
> are not embedded in any similar check. They are always defined and the
> header can obviously not compile if MAC_OS_X_VERSION_MAX_ALLOWED is
> lesser than MAC_OS_X_VERSION_10_3. There was no such problem with
> Jaguar's headers and I haven't found any related information in the
> release notes.
>
> I have found twice occurrences of that issue when setting
> MAC_OS_X_VERSION_MAX_ALLOWED to MAC_OS_X_VERSION_10_2, but many others
> could be buried in the headers.
>
> - In NSGraphics.h, the NSShowAnimationEffect function uses the
> NSAnimationEffect enum for its first arguments.
> - In NSLayoutManager.h, the NSLayoutManager interface adopts the
> NSGlyphStorage protocol.
>
>
> Am I missing something or should I fill a bug report?

If I understand correctly, if your maximum version allowed is 10.2,
then you should be using the 10.2 SDK.

--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Panther/Xcode and availability macros
      • From: Julien Dufour <email@hidden>
References: 
 >Panther/Xcode and availability macros (From: Julien Dufour <email@hidden>)

  • Prev by Date: Re: NSButtonCell in NSTableView: How can I define button action?
  • Next by Date: Changing Resolutions
  • Previous by thread: Panther/Xcode and availability macros
  • Next by thread: Re: Panther/Xcode and availability macros
  • Index(es):
    • Date
    • Thread