This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Add -Werror to build_warnings
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, Ben Elliston <bje at au1 dot ibm dot com>, <binutils at sources dot redhat dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Thu, 17 Feb 2005 20:43:21 -0800
- Subject: Re: Add -Werror to build_warnings
- References: <BE3ADA6B.9213%schlie@comcast.net>
Paul Schlie <schlie@comcast.net> writes:
Would you please write complete sentences? Your telegraphic style is
extremely difficult to read.
> - Fully understand your position in general, however honestly question the
> utility of the specific warning: of a comparison between two pointers to
> otherwise equivalent rank data types which only in sign-ness; as it's not
> clear that such a comparison could ever lead to unintended consequences,
You are mistaken. We flushed all these warnings out of GCC about a
year ago, and we found real bugs. Mostly, if I recall correctly, they
were cases where the two pointers should never have been being
compared in the first place, and this was the only diagnostic you got.
zw