This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81269] wrong color highlighting in -Wrestrict warnings
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 18:36:47 +0000
- Subject: [Bug c/81269] wrong color highlighting in -Wrestrict warnings
- Auto-submitted: auto-generated
- References: <bug-81269-4@http.gcc.gnu.org/bugzilla/>
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.