On 2016.07.31 at 10:46 +0200, phi gcc wrote:
> While a simple getenv("TERM") to setup the default of the color
> predicate before going to the sequence of testing CFLAGS, et the
> optargs, would cost almost nothing.

If you want a full explanation of the current behavior please read the
comments in gcc/diagnostic-color.c.

-- 
Markus

Reply via email to