1 |
On Wed, May 10, 2017 at 1:29 PM, Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
> Splitting away from the main GCC 6.3.0 thread, because this is a |
3 |
> tangential issue. The GCC 6.3.0 build output is cutsie/wootsie with |
4 |
> lots of colour... "because teh shiney". Unfortunately, it absolutely |
5 |
> sucks for reading build logs giving stuff like... |
6 |
> |
7 |
> ^[[01m^[[Kicesh.cc:249:1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Knarrowing conversion of '^[[01m^[[K4294967295ul^[[m^[[K' from '^[[01m^[[Klong unsigned int^[[m^[[K' to '^[[01m^[[Klong int^[[m^[[K' inside { } [^[[01;31m^[[K-Wnarrowing^[[m^[[K] |
8 |
> ^[[01;31m^[[K}^[[m^[[K; |
9 |
> ^[[01;31m^[[K^^[[m^[[K |
10 |
> ^[[01m^[[Kicesh.cc:261:1:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Knarrowing conversion of '^[[01m^[[K4294967295ul^[[m^[[K' from '^[[01m^[[Klong unsigned int^[[m^[[K' to '^[[01m^[[Klong int^[[m^[[K' inside { } [^[[01;31m^[[K-Wnarrowing^[[m^[[K] |
11 |
> ^[[01;31m^[[K}^[[m^[[K; |
12 |
> ^[[01;31m^[[K^^[[m^[[K |
13 |
> |
14 |
> I tried "emerge --color=n icewm", but that doesn't help. Any ideas? |
15 |
> |
16 |
> -- |
17 |
> Walter Dnes <waltdnes@××××××××.org> |
18 |
> I don't run "desktop environments"; I run useful applications |
19 |
> |
20 |
|
21 |
The option is "-fdiagnostics-color=never" or "-fno-diagnostics-color". |
22 |
You can also set the environment variable GCC_COLORS to the empty |
23 |
string. The latter is probably more useful in the context of portage. |