Reputation: 14260
For the code:
int i;
gcc preprocessor outputs:
int i;
How to force it to preserve whitespace?
I call preprocessor with: gcc -E somefile.c command.
Upvotes: 6
Views: 2855
Reputation: 19905
Use it in traditional mode, ie '-traditional-cpp' as described here.
Upvotes: 12