This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/36150] colorize output of gcc
- From: "brian at dessent dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2008 22:06:56 -0000
- Subject: [Bug other/36150] colorize output of gcc
- References: <bug-36150-14488@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from brian at dessent dot net 2008-05-06 22:06 -------
Subject: Re: colorize output of gcc
esigra at gmail dot com wrote:
> printf("%s%s%s%s", warning_format_start, _("warning: "), _("the actual
> message"), warning_format_end);
But then that is not simply "adding a colour code sequence to the string
constans in GCC", i.e. you can't just grep for "warning:" and change it
to "\033[01;32warning:", it's much more involved.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36150