[LLVMbugs] [Bug 18672] New: LLVM build system should use -isystem instead of -I for including LLVM headers
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 30 07:41:23 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18672
Bug ID: 18672
Summary: LLVM build system should use -isystem instead of -I
for including LLVM headers
Product: Build scripts
Version: 3.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Makefiles
Assignee: unassignedbugs at nondot.org
Reporter: eteran at alum.rit.edu
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I like to compile with as many warnings as I find reasonable enabled.
Unfortunately, the LLVM build system uses "-I" to include the LLVM headers, so
code in them can also trigger warnings.
It would be great if there was an option (perhaps on by default) to use
"-isystem" when supported by the compiler. I *think* both clang and gcc support
this flag and will suppress warnings triggered by headers found in that path.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140130/6239a676/attachment.html>
More information about the llvm-bugs
mailing list