Re: Using the #import directive
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