• 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
XCode picks up headers from the wrong location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode picks up headers from the wrong location


  • Subject: XCode picks up headers from the wrong location
  • From: Gregor Jasny <email@hidden>
  • Date: Mon, 29 Mar 2010 13:25:46 +0200
  • Organization: VidSoft

Hi,

In my project XCode picks up headers that are not mentioned in the HEADER_SEARCH_PATHS.

Imagine a project with the following two files

config/StdAfx.h
#error "I should not be included"

src/main.cpp
#include "StdAfx.h"


If I add those two files to the project groups and files, the compiler picks up StdAfx.h and stops on the #error. This is very surprising for me because I have not added the config path to the header search path.


If I remove the StdAfx.h file from the files tree, the compiler complains about the missing include file as expected.

Is there a configuration option to disable this behavior?

Thanks,
Gregor
_______________________________________________
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


  • Prev by Date: I am looking for sample code for something like the Notes app that comes with iphone
  • Next by Date: Scripting Xcode
  • Previous by thread: I am looking for sample code for something like the Notes app that comes with iphone
  • Next by thread: Scripting Xcode
  • Index(es):
    • Date
    • Thread