Improving C++ error output?
Randy.Dunlap
rddunlap@osdl.org
Fri Dec 20 21:57:00 GMT 2002
On Fri, 20 Dec 2002, Craig Rodrigues wrote:
| One of the projects that I am involved with (The ACE ORB, TAO), has
| a set of Perl scripts which checks out the TAO source code every day,
| builds it, and parses the build output for any errors:
|
| http://tao.doc.wustl.edu/scoreboard/
|
| The code which parses the build output was cobbled together over time
| and consists of a lot of if/switch type statements and Perl regular
| expression parsing code. It does a decent job of catching most
| gcc and linker error messages. The TAO autobuild scripts are available
| as Open Source if you are interested in looking at the parsing logic.
|
| One way that GCC could make this type of system much easier to
| develop is to format error messages consistently so that they can be parsed.
| Right now, the formatting and content of GCC error messages seems
| to be ad hoc.
Hi Craig,
Yes, we'll take a look at your perl scripts. The output page looks
nice. Where are the scripts?
Thanks,
--
~Randy
More information about the Gcc
mailing list