http://llvm.org/bugs/show_bug.cgi?id=3395
Summary: ccc: -include not working
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Neither of these work:
$ /home/edwin/llvm-svn/llvm/tools/clang/utils/ccc -include ./x.h x.c
<predefines>:95:10: error: './x.h' file not found
#include "./x.h"
^
1 diagnostic generated
$ /home/edwin/llvm-svn/llvm/tools/clang/utils/ccc -include x.h x.c
<predefines>:95:10: error: 'x.h' file not found
#include "x.h"
^
1 diagnostic generated
Adding -I. works, but -include shouldn't need -I
FWIW, this causes ccc-analyzer to say this on linux-2.6:
<predefines>:102:10: error: './include/linux/autoconf.h' file not found
--
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