• 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: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"


  • Subject: Re: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
  • From: Hugh Sontag <email@hidden>
  • Date: Fri, 20 Feb 2009 09:58:02 -0600

Sure enough, using the SDKs from Xcode 3.0 allows the compilation to succeed.

Thanks for the suggestion.

Hugh

On Feb 19, 2009, at 2:48 PM, Hugh Sontag wrote:

Base SDK:  Mac OS X 10.5
Deployment Target, Any SDK, PowerPC:  Mac OS X 10.3

This worked using XCode 3.0. I get the above error when building using Xcode 3.1.2.

Any suggestions on what I can do to build correctly?


I'm very surprised that ever worked in the first place, because GCC 3.3 doesn't support the 10.5 SDK. Apple added a bunch of things to the SDK, such as ObjC properties and selector attributes, that require GCC 4.0 or later.

Try going back to an older SDK, and the problem should be resolved.

Nick Zitzmann
<http://seiryu.home.comcast.net/>

_______________________________________________ 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: 
 >parse error before "__AVAILABILITY_INTERNAL__MAC_10_5" (From: Hugh Sontag <email@hidden>)
 >Re: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5" (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Xcode debugger broken with .mm files?
  • Next by Date: Running project with command line arguments
  • Previous by thread: Re: parse error before "__AVAILABILITY_INTERNAL__MAC_10_5"
  • Next by thread: Spurious no-location-found warning
  • Index(es):
    • Date
    • Thread