2 ms·
1. rename the file from prog.c to prog.d 2. set up to compile with dmc prog.c -c -betterC 3. replace all the preprocessor stuff 4. compile it, and fix the er
by WalterBright 7y ago
1. rename the file from prog.c to prog.d
2. set up to compile with dmc prog.c -c -betterC
3. replace all the preprocessor stuff
4. compile it, and fix the errors diagnosed by the compiler
The hardest part will be how much metaprogramming was done using the C preprocessor. Once that's dealt with, the rest is fairly mechanical.