• 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: Bizarre XCode compilation bug (?) - can't find Carbon headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bizarre XCode compilation bug (?) - can't find Carbon headers


  • Subject: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • From: Matt Gough <email@hidden>
  • Date: Mon, 18 Apr 2005 21:21:27 +0100


On 18 Apr 2005, at 17:19, Jonathan del Strother wrote:

On 18 Apr 2005, at 1:45 AM, Jonathan del Strother wrote:

I keep running into compilation problems in an XCode project I'm working on. It complains of the following:
...
The above are all Carbon headers, and I've included the Carbon framework. When I hit rebuild, the problems go away for a compile or 2. Trashing the build folder hasn't helped...

Any ideas what's going on?

Carbon is an umbrella framework, and you can't in the long run rely on its internal structure of subframeworks. What happens when you #include <Carbon/Carbon.h> in your prefix header, and omit all the partial #includes? The umbrella #include should make all the others unnecessary.



That's the weird part : I *am* just including Carbon/Carbon.h. The errors are occurring within the Carbon.h file.



I often see a similar thing in a cocoa app after having just done a 'Clean' The first compile moans about not being able to find Appkit.h, but subsequent compiles work OK.


Matt Gough

_______________________________________________
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: Bizarre XCode compilation bug (?) - can't find Carbon headers
      • From: Daniel Jalkut <email@hidden>
References: 
 >Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Jonathan del Strother <email@hidden>)
 >Re: Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Fritz Anderson <email@hidden>)
 >Re: Bizarre XCode compilation bug (?) - can't find Carbon headers (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Xcode Questions
  • Next by Date: Re: Keep function names in deployment binary?
  • Previous by thread: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • Next by thread: Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
  • Index(es):
    • Date
    • Thread