This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated GCC vs Clang diagnostics


On 13 April 2012 02:40, Joe Buck wrote:
> I'm not interested in color output, and would turn it off if it were
> implemented (the escape sequences would just mess things up when capturing
> compiler output in log files).

There's no reason it would have to do that.  Git does a great job of
colouring output automatically when printing to a terminal but not
when redirected to a file or pipe. It also automatically pipes output
through a pager when it won't fit on the screen, and because it runs
the pager internally it still knows the final output is a terminal and
so outputs in colour.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]