Re: No such file error?
Re: No such file error?
- Subject: Re: No such file error?
- From: Eric Albert <email@hidden>
- Date: Mon, 28 Nov 2005 10:10:49 -0800
On Nov 28, 2005, at 9:49 AM, Elron A. Yellin wrote:
On Nov 23, 2005, at 10:17 PM, Eric Albert wrote:
CarbonCore is a subframework of CoreServices. When you use
framework-style includes, by default the compiler only allows you to
directly reference headers in top-level frameworks.
Is there a way to change this default behavior? I would rather
include individual framework headers.
No...this is one of the important features of frameworks. It allows
Apple to improve the internal implementation of various APIs by moving
them between headers and between frameworks, and keeps you from having
to worry about those implementation details.
In the long run, you'll probably find this is easier. You can #include
<Carbon/Carbon.h> in your prefix file and never worry about which API
is where again. And you won't have to change your #includes if future
versions of the OS have those APIs defined in different headers.
-Eric
_______________________________________________
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