Re: Availability macros broken?
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.