[PATCH] powerpc: Add configurable -Werror for arch/powerpc

David Miller davem at davemloft.net
Tue Apr 7 12:28:30 EST 2009


From: Olof Johansson <olof at lixom.net>
Date: Mon, 6 Apr 2009 21:27:43 -0500

> On Tue, Apr 07, 2009 at 12:00:41PM +1000, Michael Ellerman wrote:
>> Add an option, on by default, to build all code under arch/powerpc with
>> -Werror, which causes gcc to treat warnings as errors.
>> 
>> The intention is to make it harder for people to inadvertantly introduce
>> errors in the arch/powerpc code. It needs to be configurable so that
>> if a warning is introduced, people can easily work around it while it's
>> being fixed.
> 
> This looks useful at least for the automated builds to catch new warnings,
> but do similar options exist on other architectures, x86 in particular? I
> think a Cc to LKML of this could be useful.

On sparc64 we do this unconditionally.



More information about the Linuxppc-dev mailing list