• 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: NSObjCRuntime.h won't compile? Or .mm files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSObjCRuntime.h won't compile? Or .mm files?


  • Subject: Re: NSObjCRuntime.h won't compile? Or .mm files?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 22 Sep 2005 09:42:18 -0700

On Sep 22, 2005, at 8:07 AM, Bob Sabiston wrote:

Are there any settings in Xcode that say whether the compiler should be able to do objective-C, anything like that?


Check out the "Compile Sources As" build setting.

But if your sources are named with the appropriate extensions for the style of code they contain, this shouldn't be a problem.

It looks like you may be including a Cocoa header from a C++ file, possibly through another header or your prefix header. It would be helpful to see the entire build transcript line for the compilation step that is failing (in the build transcript, something 6 or 7 lines tall that starts with "CompileC")

Chris
_______________________________________________
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: 
 >NSObjCRuntime.h won't compile? Or .mm files? (From: Bob Sabiston <email@hidden>)
 >Re: NSObjCRuntime.h won't compile? Or .mm files? (From: Eric Albert <email@hidden>)
 >Re: NSObjCRuntime.h won't compile? Or .mm files? (From: Bob Sabiston <email@hidden>)

  • Prev by Date: Re: NSObjCRuntime.h won't compile? Or .mm files?
  • Next by Date: Help debugging an issue...
  • Previous by thread: Re: NSObjCRuntime.h won't compile? Or .mm files?
  • Next by thread: Re: NSObjCRuntime.h won't compile? Or .mm files?
  • Index(es):
    • Date
    • Thread