[PATCH] Quieten arch/powerpc in a allmodconfig build.

Segher Boessenkool segher at kernel.crashing.org
Fri Apr 10 09:18:35 EST 2009


>> -Wno-unused or -Wno-unused-pparameter and/or -Wno-unused- 
>> variable.  But I
>> thought this was about uninitialised var warnings?  -Wno- 
>> uninitialized
>> for that one.
>
>> If you are asking for a GCC option that will warn for all suspect  
>> cases
>> _except_ for the ones where it is obvious to you there is no problem:
>> you could try -Wesp.
>
> Ooops I was asking for -Wno-uninitialized.  I'll try a build with:
> 	-Wno-uninitialized -Wesp
> and see how that goes.

-Wesp was a joke: I was trying to say that the compiler cannot read  
minds.
It doesn't know what potentially unused variables are obviously (to you)
actually used.


Segher




More information about the Linuxppc-dev mailing list