http://llvm.org/bugs/show_bug.cgi?id=13607
Bug #: 13607
Summary: -fcolor-diagnostics in the compilation database
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
When -fcolor-diagnostics is used explicitly by the build system (as it is in
the ninja build, since ninja pipes clang's output so Clang's terminal detection
doesn't enable colors by default) it ends up in the compilation database.
Once -fcolor-diagnostics is in the compilation database, it's always passed to
clang tool commands (such as clang-check).
This interferes with tools trying to parse the output of clang-check (such as
vim's error parsing support). The end result is that such tools (eg: vim)
cannot parse the errors from clang-check. This makes me sad.
--
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