Re: [RFC][PATCH 0/9] -Wshadow: Making the kernel build clean with-Wshadow

From: Arjan van de Ven
Date: Mon Jul 10 2006 - 09:04:46 EST


On Mon, 2006-07-10 at 09:03 -0400, Dmitry Torokhov wrote:
> On 7/10/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> >
> > > So, what do people say?
> >
> >
> > Hi,
> >
> > I'm just about always in favor of having automated tools help us find
> > bugs. However... can you give an indication of how many real bugs you
> > have encountered? If it's "mostly noise" all the time.. then it's maybe
> > not worth the effort... while if you find real bugs then it's obviously
> > worthwhile to go through this.
> >
>
> While we may not have any issues with the present code it can help
> avoiding problems in new code if we have -Wshadow by default.

I agree with that; however that still depends on the ratio of real bugs
vs "noise". While it's hard to estimate for future code, the existing
code base can be an indication...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/