This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add -Werror to build_warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]