Re: Linux 2.6.19-rc4

Martin Bligh
2006-10-31T18:39:10Z

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.

M.