This is the mail archive of the gcc-bugs@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]

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


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.

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