Re: Linux 2.6.19-rc4

Adrian Bunk
2006-10-31T18:54:50Z

On Tue, Oct 31, 2006 at 10:36:59AM -0800, Martin Bligh wrote:
> Adrian Bunk wrote:
> >On Tue, Oct 31, 2006 at 08:14:32AM -0800, Martin J. Bligh wrote:
> >
> >>...
> >>PS. I still think -Werror is a good plan. But I acknowledge that's
> >>fairly extreme.
> >
> >
> >Note that this would imply options like -Wno-unused-function and
> >-Wno-unused-variable (unless you _really_ want to add a few thousand
> >#ifdef's to the kernel).
>
> I don't think so. We already do this inside Google, and it works fine.
> I just had about 20 stupid warnings to fix up for 2.6.18. Might depend
> which gcc it was, but 4.1 seemed to work OK with that, at least.

This might be true if you are only using typical configurations that are
already low on warnings.

The fun begins if you use settings like CONFIG_PCI=n or
CONFIG_PROC_FS=n .

> M.

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