useful exercise

Peter T. Breuer (ptb@it.uc3m.es)
Tue, 5 Jan 1999 01:40:45 +0100 (MET)


One thing that might be useful to do is replace all the

#ifdef FOO
#endif

in the kernel with

if (C_FOO) {
}

(where C_FOO is 1 or 0). That way at least everything would be compiled
always and it would discover some incompatibilities. But since we compile
with -O2 or better, the code block should vanish if the test evaluates
to a zero at compile time.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/