<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - Support CLICOLOR_FORCE in addition to CLANG_FORCE_COLOR_DIAGNOSTICS" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23609&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qfrFo3ixv3AVVuYEsD-xYLvScKaiAz2utKt1YjOGrUs&s=kiGU3app7BkBilCb8yXSyDSi-LVyhxgBgJbIgaai9p0&e=">23609</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Support CLICOLOR_FORCE in addition to CLANG_FORCE_COLOR_DIAGNOSTICS
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jhasse@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__bixense.com_clicolors_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=qfrFo3ixv3AVVuYEsD-xYLvScKaiAz2utKt1YjOGrUs&s=D0CIDkIPHPVijiDVUXCffPcyTvNrqUdB5rc8kd5-bS4&e=">http://bixense.com/clicolors/</a>
So this bug report suggest that clang also checks for CLICOLOR_FORCE in
addition to CLANG_FORCE_COLOR_DIAGNOSTICS.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>