lkml.org 
[lkml]   [1999]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectuseful exercise
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.160 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site