• 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: iPhone cannot compile 2.2 SDK application for 3.0 SDK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK


  • Subject: Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK
  • From: Devon Ferns <email@hidden>
  • Date: Wed, 15 Jul 2009 07:24:35 -0400

It seems to be a bug with GCC 4.0. Set the compiler to GCC 4.2 for SDK 3.0 or higher.

Devon

On 2009-07-15, at 7:07 AM, Graham Cox wrote:


On 15/07/2009, at 7:18 PM, Shraddha Karwan wrote:

error: syntax error before 'AT_NAME' token
error: syntax error before '}' token
fatal error: method definition not in @implementation context


This looks like you're missing the @end from the bottom of a class definition somewhere. Maybe you accidentally edited UIKit.h?

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >iPhone cannot compile 2.2 SDK application for 3.0 SDK (From: Shraddha Karwan <email@hidden>)
 >Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSError in NSDocument readFromURL
  • Next by Date: 10.4 vs 10.5 SDK - some problems in compilation
  • Previous by thread: Re: iPhone cannot compile 2.2 SDK application for 3.0 SDK
  • Next by thread: 10.4 vs 10.5 SDK - some problems in compilation
  • Index(es):
    • Date
    • Thread