[LLVMbugs] [Bug 3464] clang doesn't search current directory for -include
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 4 13:07:03 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3464
Daniel Dunbar <daniel at zuster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from Daniel Dunbar <daniel at zuster.org> 2009-02-04 15:07:02 ---
The directory search is not relative to the correct location:
--
ddunbar at milton:tmp$ mkdir x
ddunbar at milton:tmp$ touch x/a.h
ddunbar at milton:tmp$ mkdir y
ddunbar at milton:tmp$ touch y/a.c
ddunbar at milton:tmp$ gcc -fsyntax-only -include x/a.h y/a.c
ddunbar at milton:tmp$ clang -fsyntax-only -include x/a.h y/a.c
<predefines>:90:10: error: 'x/a.h' file not found
#include "x/a.h"
^
1 diagnostic generated.
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list