http://llvm.org/bugs/show_bug.cgi?id=10297
Summary: clang doesn't honor CPATH
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=6848)
--> (http://llvm.org/bugs/attachment.cgi?id=6848)
test case
The clang compiler doesn't honor the CPATH environmental such that the attached
test case fails...
[MacPro:~/clang_bug2] howarth% ./show_bug.sh
#!/bin/sh -ev
export CPATHH=./local
gcc cpath_bug.c
clang cpath_bug.c
cpath_bug.c:4:10: fatal error: 'test.h' file not found
#include <test.h>
^
1 error 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs