As far as I understand gcc -E , it expands all macros to their definition, while the OP seems to want to only remove the parts that vanish due to their guarding #define being false or not defined.
That doesn't fit the problem description, but it might well be the solution the OP wants.
In reply to Re^2: C macro pre processing
by Corion
in thread C macro pre processing
by prassi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |