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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs