This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to Eliminate Warning Message
- From: "Bill Trautman" <lhasadad at hotmail dot com>
- To: fjh at cs dot mu dot OZ dot AU, gcc at gcc dot gnu dot org
- Date: Mon, 03 Jun 2002 09:21:01 -0400
- Subject: Re: Trying to Eliminate Warning Message
- Bcc:
Fergus,
My think on this warning was that it did more to enforce
a coding style than to provide feedback for a particular
error. For that reason alone I would suggest keeping it
out or not making the warning enabled by default.
Bill
From: Fergus Henderson <fjh@cs.mu.OZ.AU>
To: Bill Trautman <Lhasadad@hotmail.com>, gcc@gcc.gnu.org
Subject: Re: Trying to Eliminate Warning Message
Date: Thu, 30 May 2002 13:54:32 +1000
Clearly the warning can result in false positives.
On the other hand, the warning can be helpful sometimes -- it can help
the programmer to more quickly locate the cause of syntax errors.
One possibility would be to display the warning *only* if the file
being compiled contains other problems that result in compilation errors.
In that case, the benefit of the diagnostics would be much more likely
to outweigh the drawbacks of occaisional false positives.
However, I'm not volunteering to implement this...
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the
pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx