• 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: Can't include objective c file in carbon project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't include objective c file in carbon project


  • Subject: Re: Can't include objective c file in carbon project
  • From: Tommy Nordgren <email@hidden>
  • Date: Thu, 30 Oct 2008 18:31:06 +0100


On 30 okt 2008, at 02.18, Nick Zitzmann wrote:


On Oct 29, 2008, at 7:28 AM, Kurt Spaker wrote:

/Developer/usr/bin/gcc-4.0 -x c++
[...]
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ Foundation.framework/Headers/NSObjCRuntime.h:60: error: expected unqualified-id before '@' token


That's what I thought was happening. For some reason, most likely related to your project's build settings, Xcode is telling the compiler to build your ObjC file as if it was a C++ file. Check your build settings...

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



And remember to check the build settings in ALL places where they can be set: IE
debug and release settings for project, for target, and for file
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from outer space.
On congratulations for a fantastic parody, the producer replies : "What parody?"


Tommy Nordgren
email@hidden



_______________________________________________
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


  • Follow-Ups:
    • Re: Can't include objective c file in carbon project
      • From: Kurt Spaker <email@hidden>
References: 
 >Re: Can't include objective c file in carbon project (From: Kurt Spaker <email@hidden>)
 >Re: Can't include objective c file in carbon project (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Automatically Remove Unused #import Directives
  • Next by Date: Re: Can't include objective c file in carbon project
  • Previous by thread: Re: Can't include objective c file in carbon project
  • Next by thread: Re: Can't include objective c file in carbon project
  • Index(es):
    • Date
    • Thread