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 other/36150] colorize output of gcc



------- 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


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