[LLVMbugs] [Bug 23609] New: Support CLICOLOR_FORCE in addition to CLANG_FORCE_COLOR_DIAGNOSTICS

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 01:52:26 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23609

            Bug ID: 23609
           Summary: Support CLICOLOR_FORCE in addition to
                    CLANG_FORCE_COLOR_DIAGNOSTICS
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jhasse at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Hi!

Currently CLANG_FORCE_COLOR_DIAGNOSTICS can be used to enable colored output
even when not running in a terminal. This is needed for build tools like ninja
and waf since they pipe clang's output.

It would be great if there was a global environment variable so that build
systems don't have to take into account every possible compiler / command.

Since on OSX CLICOLOR_FORCE is already used for this I thought it would be
great if more programs would support it. I've created a little page to document
the idea: http://bixense.com/clicolors/

So this bug report suggest that clang also checks for CLICOLOR_FORCE in
addition to CLANG_FORCE_COLOR_DIAGNOSTICS.

-- 
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/20150521/e7981763/attachment.html>


More information about the llvm-bugs mailing list