• 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
Header file confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Header file confusion


  • Subject: Header file confusion
  • From: Jerry <email@hidden>
  • Date: Tue, 7 Mar 2006 17:58:40 +0000

I have a project which contains two header files with the same name but in different folders like this:

	Source/foo.h
	Source/Blah/foo.h
	Source/Foo/(source_files.c}

The include files paths include "Source" (non-recursive), but not Source/Blah, but some, and only some, C files from Source/Foo which #include "foo.h" are reading Source/Blah/foo.h instead of Source/ foo.h and so won't compile. Looking at the build transcript, Source/ Blah doesn't appear in any -I compiler options, but there's a mysterious ".hmap" file which appears in the first -I option, and I suspect this might be something to do with the problem. Does anyone have any ideas of how to solve, or even to debug this problem?- I've tried cleaning the project, restarting, removing all #includes from my precompiled headers to no avail.

Jerry



_______________________________________________
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: Header file confusion
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: XCode auto-creates Japanese.lproj?
  • Next by Date: Re: XCode auto-creates Japanese.lproj?
  • Previous by thread: Re: How to add resource files to "Build Resource Manager Resources" phase ?
  • Next by thread: Re: Header file confusion
  • Index(es):
    • Date
    • Thread