• 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: wrong file #included
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong file #included


  • Subject: Re: wrong file #included
  • From: Marc Epard <email@hidden>
  • Date: Fri, 12 May 2006 14:02:03 -0500
  • Thread-topic: wrong file #included

on 5/12/06 1:28 PM, James W. Walker wrote:

> I have 2 versions of a file that I'll call foo.h, obviously in
> different directories.  One of the files belongs to my project.  The
> other one is not in the project and is not within any header search
> path.  Yet, when compiling a source file that says #include "foo.h",
> Xcode insists on picking the wrong one, causing a compile error.
> What is it that I'm failing to understand about how Xcode finds files
> to include?

I'm not sure how to fix it, but I suspect this has to do with Xcode's
"header map" feature, which is supposed to speed up finding header files.
We ended up renaming files, but I'd be interested in other solutions, too.

-Marc

 _______________________________________________
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

References: 
 >wrong file #included (From: "James W. Walker" <email@hidden>)

  • Prev by Date: Re: Pre-binding disabled/enabled warnings
  • Next by Date: Re: wrong file #included
  • Previous by thread: wrong file #included
  • Next by thread: Re: wrong file #included
  • Index(es):
    • Date
    • Thread