[LLVMbugs] [Bug 3395] New: ccc: -include not working
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jan 24 13:51:36 PST 2009
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: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list