• 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
recursive header search path bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recursive header search path bug


  • Subject: recursive header search path bug
  • From: James Walker <email@hidden>
  • Date: Wed, 30 Jan 2008 18:20:10 -0800

I wasted most of my day tracking down an Xcode 3.0 bug (<rdar://5716723>), which I couldn't find mentioned in the list archive, so I thought I'd describe it here.

Say you've defined a source tree, call it "Tree", that points to a folder with this structure:

Tree
  1234567890
    proj.xcodeproj
    source.cpp
  abcdef
    abc
      header.h

Suppose that the project defines a recursive user header search path:
$(Tree)/abcdef/**

And assume that source.cpp contains #include "header.h".

Then when you try to build, Xcode will say it can't find header.h. And here's the really weird part: If you change the length of any of the folder names "1234567890", "abcdef", "abc", the error goes away.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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: Re: Best way to get warnings for 10.5 only calls?
  • Next by Date: Re: Xcode 3.0 file trashing situation
  • Previous by thread: Loadable Bundle Question
  • Next by thread: Line-number references wrong by several lines
  • Index(es):
    • Date
    • Thread