[LLVMbugs] [Bug 10331] New: [Win32] clang cannot handle -I foo/bar/ with trailing slash
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 11 09:10:40 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10331
Summary: [Win32] clang cannot handle -I foo/bar/ with trailing
slash
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: geek4civic at gmail.com
CC: llvmbugs at cs.uiuc.edu
I met this in test/Frontend/dependency-gen.c on msys-mingw.
eg.
$ mkdir -p a/b
$ touch a/b/x.h
$ echo '#include <x.h>' > foo.c
$ clang -fsyntax-only -I a/b foo.c
(passes)
$ clang -fsyntax-only -I a/b/ foo.c
foo.c:1:10: fatal error: 'x.h' file not found
#include <x.h>
^
1 error generated.
I have not investigated the root cause, llvm/Support/Path or clang frontend...
--
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