git: Add -Werror to the kernel build.

Sascha Wildner saw at
Tue Dec 15 16:31:04 PST 2009

Am 16.12.2009 00:28, schrieb Aggelos Economopoulos:
I don't think that's the proper way to deal with variables that are only
used in debug statements.
We should add something like this:

#define __debug_var __attribute__((unused))
#define __debug_var
and then use

int a __debug_var;

for such variables.
That looks like a sound idea. I'm on it (testing kernel builds without 
INVARIANTS at the moment).



More information about the Submit mailing list