• 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: Using the #import directive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the #import directive


  • Subject: Re: Using the #import directive
  • From: Greg Parker <email@hidden>
  • Date: Thu, 1 Apr 2010 16:51:27 -0700

On Apr 1, 2010, at 3:51 PM, Steve Cronin wrote:
> I'm puzzled by a configuration
>
> Here are my assumptions:
> #import <bar/foo.h>             //generally a framework reference - is relative to /System/Library
> #import "foo.h"                  //source file found in $(SRCROOT)
> #import "bar/foo.h"           // source file found in a directory relative to $(SRCROOT)
>
> I have an import statement like the last example but I can't find any "bar" directory
> I'm unable to determine the particular instance of "foo.h" that is being used here…
>
> There are no compiler warnings nor errors.
> There are no HeaderSearchPaths defined.
> UserSearchPaths is turned Off and none are specified.
>
> What am I not understanding correctly to help me find the darn "bar/foo.h" file?
> What setting is allowing the compiler to not burp on the import?

Try using Build > Preprocess. The preprocessed output includes full paths to all #included and #imported files.


--
Greg Parker     email@hidden     Runtime Wrangler


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using the #import directive (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Removing alpha channel (transparency) from NSImage?
  • Next by Date: Re: Removing alpha channel (transparency) from NSImage?
  • Previous by thread: Re: Using the #import directive
  • Next by thread: Re: Terminating subtasks reliably
  • Index(es):
    • Date
    • Thread