Re: make-bogus-warnings-go-away tree [was: 2.6.18-mm3]

From: Adrian Bunk
Date: Thu Oct 05 2006 - 12:51:52 EST


On Thu, Oct 05, 2006 at 12:44:46PM -0400, Jeff Garzik wrote:
> Adrian Bunk wrote:
> >What we'd need would be some -Wno-may-be-used-uninitialized gcc option
> >that turns off the "may be may be used uninitialized" warnings but not
> >the "is used uninitialized" warnings.
> >
> >This would:
> >- give us a way to silence these warnings
> >- allow people to see the warnings if they want to
> >- not increase the maintenance overhead
>
> Some of those warnings do indicate real bugs.

Some of the -Wmissing-prototypes warnings do also indicate real bugs.

But although I'm working on cleaning up the -Wmissing-prototypes
warnings for a year or two, I doubt you'd be happy if we'd enable
-Wmissing-prototypes now...

> Jeff

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/