No subject
Michael Hohmuth
hohmuth at innocent.com
Mon May 31 13:01:34 CEST 1999
"benben xiao" <xiaoxiaoben at hotmail.com> writes:
> When I see fiasco kernel, I have a simple question:
> I don't know
> #if 0
> ...
> ...
> #endif
> what do '0' mean there?
This is a way to comment out unused code: Everything between "#if 0"
and "#endif" is stripped by the preprocessor, and is ignored by the
compiler.
For more information about the C/C++ preprocessor, please refer to the
GNU CPP manual. On most systems, you can browse it with "info cpp".
The answer to your particular question is in "info cpp conditional deletion".
Michael
--
hohmuth at innocent.com, hohmuth at sax.de
http://www.sax.de/~hohmuth/
More information about the l4-hackers
mailing list