This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: diag color
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: phi gcc <phi dot gcc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 31 Jul 2016 11:05:08 +0200
- Subject: Re: diag color
- Authentication-results: sourceware.org; auth=none
- References: <CADieKzu2BhHBTzhWrQjuCCZixd7bnq2syB=z+8JvXbeFL2L6FQ@mail.gmail.com> <20160731062539.GA313@x4> <CADieKzsCp1jJAZpzdGU46Lazzrfuv9ivnsztyFYY7QwfinF_Zw@mail.gmail.com>
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