• 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: No such file error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >No such file error? (From: Jeff Heyob <email@hidden>)
 >Re: No such file error? (From: Eric Albert <email@hidden>)
 >Re: No such file error? (From: "Elron A. Yellin" <email@hidden>)

  • Prev by Date: Re: Shark logs provided by users
  • Next by Date: Three Level Dependencies between xcode projects still fails in XCode 2.2
  • Previous by thread: Re: No such file error?
  • Next by thread: Re: No such file error?
  • Index(es):
    • Date
    • Thread