On Sat, Nov 19, 2005 at 01:34:35AM +0100, Sam Ravnborg wrote:
> On Thu, Nov 17, 2005 at 08:03:54PM -0800, Andrew Morton wrote:
> > "David S. Miller" <[email protected]> wrote:
> > >
> > > The deprecated warnings are so easy to filter out, so I don't think
> > > noise is a good argument. I see them all the time too.
> >
> > That works for you and me. But how to train all those people who write
> > warny patches?
>
> Would it work to use -Werror only on some parts of the kernel.
> Thinking of teaching kbuild to recursively apply a flags to gcc.
>
> Then we could say that kernel/ should be warning free (to a start).
We can do better as we do currently, but we cannever get the kernel 100%
warning free for all supported kernel configurations and all supported
gcc versions.
E.g. gcc emitting some "unused variable" warnings when compiling with
CONFIG_PCI=n is quite common, and although they could all be fixed there
will always be some warnings with unusual kernel configurations.
> Sam
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]