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

Using the #import directive


  • Subject: Using the #import directive
  • From: Steve Cronin <email@hidden>
  • Date: Thu, 01 Apr 2010 17:51:17 -0500

Folks;

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?

Thanks,
Steve_______________________________________________

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

  • Follow-Ups:
    • Re: Using the #import directive
      • From: Greg Parker <email@hidden>
    • Re: Using the #import directive
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSArrayController selectedObjects
  • Next by Date: Re: Using the #import directive
  • Previous by thread: Re: NSArrayController selectedObjects
  • Next by thread: Re: Using the #import directive
  • Index(es):
    • Date
    • Thread