This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Add -Werror to build_warnings
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: Ben Elliston <bje at au1 dot ibm dot com>, binutils at sources dot redhat dot com,Nick Clifton <nickc at redhat dot com>
- Date: Fri, 18 Feb 2005 13:45:13 +1030
- Subject: Re: Add -Werror to build_warnings
- References: <BE3ABAA3.9208%schlie@comcast.net>
On Thu, Feb 17, 2005 at 09:18:27PM -0500, Paul Schlie wrote:
> - and/or recommend that GCC-4.0 eliminate that frivolous warning by default.
I'm not going to do any such thing. I rather like the fact that gcc-4.0
has more warnings, despite it causing some work to make our code warning
free. Case in point: Better analysis of uninitialized variables found
two places in binutils where we really could use an uninitialized
variable in corner cases. It also warned about 4 or 5 other places that
were not real problems. That's a very good ratio. I'll take 100 false
positives if a compiler finds me one real error..
--
Alan Modra
IBM OzLabs - Linux Technology Centre