[Bug c/81269] wrong color highlighting in -Wrestrict warnings

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 11 18:36:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81269

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
As noted in https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00548.html, which
describes why those colors were picked, this is "working as intended"...

...but I'm having second thoughts about how sane my intentions were when I
implemented this colorization system - it seems garish to me now.

I think I now favor emulating what clang does, which is to *not* color the
printed source lines, and to use just one color (green) for underlines and
carets.


More information about the Gcc-bugs mailing list