Is "scpp" the best way to eliminate #ifdef's?
Dan Barrett
barrett at jhunix.HCF.JHU.EDU
Fri Apr 26 02:06:01 AEST 1991
I have a program that has been hacked to death by people porting
it to other machines. It is filled with #ifdefs to the point where it's
difficult to follow the code at all.
I want to remove all the #ifdef IBM_PC and #ifdef MAC stuff in
the entire program, and get the UNIX-only source code back. There's a
program called "scpp" in Volume 3 of comp.sources.unix (uunet.uu.uet)
that claims to be good for this.
Is "scpp" reliable? Robust? Is there a better program now
available?
E-mail only please, and I'll summarize.
Dan
//////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| Dan Barrett, Department of Computer Science Johns Hopkins University |
| INTERNET: barrett at cs.jhu.edu | |
| COMPUSERVE: >internet:barrett at cs.jhu.edu | UUCP: barrett at jhunix.UUCP |
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////
More information about the Comp.lang.c
mailing list