[LLVMbugs] [Bug 10297] New: clang doesn't honor CPATH

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 7 08:38:31 PDT 2011


           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: unassignedclangbugs at nondot.org
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list