Argghh include quirks
Argghh include quirks
- Subject: Argghh include quirks
- From: Rick Mann <email@hidden>
- Date: Wed, 28 Nov 2007 18:13:14 -0800
Xcode is so frustrating, in that it doesn't treat "Open Quickly" the
same way the compiler treats includes.
In this case, I was trying to get at the declaration for FSRef, in
Files.h. It lives (in the 10.5 sdk) under CareServices/CarbonCore/
Files.h. Because the system has admonished me in the past to include
the umbrella framework, I tried:
#include <CoreServices/Files.h>
Selecting [CoreServices/Files] and typing Command-D opens up the
Files.h file just fine. But compiling that include results in an error
message that it cannot be found. I have CoreServices.framework in the
target.
Instead, I had to do this:
#include <CarbonCore/Files.h>
The compiler no longer complains, but this is inconsistent with other
framework includes where I've had to use the top-level "umbrella"
framework or get an error message.
For all I know, it's not finding the 10.5 SDK versions of these, anyway.
Is there an explanation for this? Thanks!
--
Rick
_______________________________________________
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