Trying to Eliminate Warning Message
Bill Trautman
lhasadad@hotmail.com
Mon Jun 3 06:21:00 GMT 2002
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
More information about the Gcc
mailing list