• 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
Argghh include quirks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Argghh include quirks
      • From: "Sean McBride" <email@hidden>
    • Re: Argghh include quirks
      • From: j o a r <email@hidden>
  • Prev by Date: Re: IB 3.0, no more option-drag to create an NSMatrix from a text field?
  • Next by Date: XCode 3 SCM Repository- configure CVS?
  • Previous by thread: Re: IB 3.0, no more option-drag to create an NSMatrix from a text field?
  • Next by thread: Re: Argghh include quirks
  • Index(es):
    • Date
    • Thread