Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!udel!haven.umd.edu!boingo.med.jhu.edu!aplcen!jhunix!barrett From: barrett@jhunix.HCF.JHU.EDU (Dan Barrett) Newsgroups: comp.lang.c Subject: Is "scpp" the best way to eliminate #ifdef's? Keywords: e-mail please Message-ID: <8141@jhunix.HCF.JHU.EDU> Date: 25 Apr 91 16:06:01 GMT Followup-To: poster Organization: The Johns Hopkins University - HCF Lines: 22 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@cs.jhu.edu | | | COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP: barrett@jhunix.UUCP | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////