Re: Bizarre XCode compilation bug (?) - can't find Carbon headers
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