Is this a gcc bug?

Fergus Henderson fjh@cs.mu.oz.au
Fri Jan 12 18:58:00 GMT 2001


On 12-Jan-2001, dewar@gnat.com <dewar@gnat.com> wrote:
> 
> So the question is, should an error message like this try to educate,
> or just take the simple minded non-determinstic viewpoint.

For the Mercury compiler, many error messages have two different forms,
one of which includes additional information such as hints about possible
causes of the error.  By default, the compiler prints the concise versions,
plus a line at the end of the compiler output saying "For more information,
recompile with `-E'", which is the compiler option to enable the more
verbose messages.  I think this is a good compromise.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh >  |     -- the last words of T. S. Garp.


More information about the Gcc mailing list