• 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: Availability macros broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Availability macros broken?


  • Subject: Re: Availability macros broken?
  • From: Matthew Formica <email@hidden>
  • Date: Wed, 29 Oct 2003 15:50:36 -0800

The way to setup the availability macros is to select the
MACOSX_DEPLOYMENT_TARGET setting (using the GUI in the Target inspector),
not by setting MAC_OS_X_VERSION_MAX_ALLOWED yourself.

- Matthew

On 10/29/03 2:00 PM, "Jonathan Wight" <email@hidden> wrote:

> If I add this line to my pch file in a (XCode/7B85) project:
>
> #define MAC_OS_X_VERSION_MAX_ALLOWS MAC_OS_X_VERSION_10_2
>
> I get the following errors:
>
> /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:184:
> error: parse error before "animationEffect"
> /System/Library/Frameworks/AppKit.framework/Headers/NSLayoutManager.h:
> 68: error: cannot find protocol declaration for `NSGlyphStorage'
> /System/Library/Frameworks/AppKit.framework/Headers/NSLayoutManager.h:
> 74: error: parse error before "NSGlyphGenerator"
> /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:184:
> error: `NSAnimationEffect' was not declared in this scope
> /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:184:
> error: parse error before `,' token
> /System/Library/Frameworks/AppKit.framework/Headers/NSLayoutManager.h:
> 68: error: cannot find protocol declaration for `NSGlyphStorage'
> /System/Library/Frameworks/AppKit.framework/Headers/NSLayoutManager.h:
> 74: error: parse error before `*' token
>
> Have the availability macros died in favour of the new platform SDKs?
>
> Jon.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Availability macros broken? (From: Jonathan Wight <email@hidden>)

  • Prev by Date: Re: Syntax-Aware Indenting and C++
  • Next by Date: Re: linking OpenGL (was :still having problems with cross develo pment)
  • Previous by thread: Availability macros broken?
  • Next by thread: Re: Availability macros broken?
  • Index(es):
    • Date
    • Thread