signed vs unsigned comparison warnings
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Tue Jun 20 11:38:00 GMT 2000
> From: Jeffrey A Law <law@cygnus.com>
> >
> > :-)
> >
> > IMHO warning `noise' tends to make everyone ignore the serious ones.
> > We should try to reduce noise if possible. Its a constant battle...
>
> One note here.
>
> I'm not aware of a single bug fixed by the boatloads of changes to
> eliminate signed vs unsigned comparison warnings. Yet there have been
> several bugs introduced by those "fixes".
>
> As a result, I think it is in our best interest to not try and "fix"
> such warnings and instead turn off the warnings on the command line.
> We've got bigger fish to fry IMHO.
>
> jeff
I don't have a strong opinion either way.
One note, if someone want to use -Wno-sign-compare they should
probably add configure code to check whether stage1 gcc supports it
like we do for -Wno-long-long. (I forget in which version of gcc it
was introduced)
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc
mailing list