yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00693
Re: Colorful Errors and Warnings in xterm when compiling! EXTRA :)
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Václav S(milauer <eudoxos@xxxxxxxx>
-
Date:
Tue, 30 Sep 2008 15:52:45 +0200
-
In-reply-to:
<20080930151435.4883722b@szpak>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.17) Gecko/20080925 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666
> dunno why. But the colors look great, Bruno was impressed also.
> I wonder how long before he installs this too :) Did you know about
> colorgcc before?
>
Yes, I knew it, and I think it has one flaw. The good approach is to do
like distcc: you call distcc with the program to run as the first
argument (distcc g++-4.3 etc). Whereas colorgcc becomes link to the
compiler, which is IMHO not very nice, since the version of compiler you
use is determined by ~/.colorgcc.
I personally use vim's built-in quickfix window with :set makeprg=scons,
which parses warnings and errors and gets you to that line with cursor.
Vaclav
References