This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libg++-2.8.1.3 and gcc-20000220 CVS
Mark Mitchell wrote:
> But, as we've been discussing, the right solution is to format
> error-messages better. We need to lose the prefix on every line, or
> at least the full path, in order to make error messages more readable.
FWIW, this is how I squirt out diagnostics from my VRML parser.
.../proto.3.wrl:->file:/home/staff/nathan/curlSpace/devel/nmsVrml/test/proto.3.wrl
.../proto.3.wrl:21:Error-whilst reading `Foo.node', node `Material' (<builtin>) is not allowed here (only `Appearance'
.../proto.3.wrl:21: nodes can occur)
.../proto.3.wrl:22:Error-whilst reading `Shape.geometry', node `PROTO Foo' (:5) (a `Shape') is not allowed here (only
.../proto.3.wrl:22: `.geometry.' nodes can occur)
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk