colors in gdc errors

eles eles at eles.com
Tue Oct 1 04:49:53 PDT 2013


On Tuesday, 1 October 2013 at 11:47:31 UTC, eles wrote:
> On Tuesday, 1 October 2013 at 09:57:38 UTC, Iain Buclaw wrote:
>> On Oct 1, 2013 8:20 AM, "eles" <eles at eles.com> wrote:
>>>
>>> On Tuesday, 1 October 2013 at 03:36:09 UTC, Iain Buclaw wrote:
>>>>
>>>> On 3 September 2013 17:03, Iain Buclaw <ibuclaw at ubuntu.com> 
>>>> wrote:
>>>>>
>>>>> On 3 September 2013 16:54, eles <eles at eles.com> wrote:
>>>>>>
> "-fno-diagnostics-color
> Use color in diagnostics. WHEN is ‘never’, ‘always’, or ‘auto’. 
> The default is ‘never’ if GCC_COLORS environment variable isn't 
> present in the environment, and ‘auto’ otherwise. ‘auto’ means 
> to use color only when the standard error is a terminal. The 
> forms -fdiagnostics-color and -fno-diagnostics-color are 
> aliases for -fdiagnostics-color=always and 
> -fdiagnostics-color=never, respectively."
>
> http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html
>
> It seems to work the same way.

Wowo, it *really* works if i set up the GCC_COLORS

For the record, here's mine:

export 
GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01;36:quote=01'



More information about the D.gnu mailing list