gcj -D

Geoff Bull geoff@research.canon.com.au
Mon Oct 18 16:46:00 GMT 1999


Fred Dushin wrote:
> 
> If you're really jonesing for a preprocessor, just *use* cpp.  

No, this is bad advice, especially to someone new to
Java. Java was designed to not need a pre-processor.
For how to do conditional compilation, see the end of
section 14.19 in the Java Language Specification:
http://www.javasoft.com/docs/books/jls/html/14.doc.html#236365

Cheers
Geoff


More information about the Java mailing list