gcc run "light" preprocessor
Posted
by Claudiu
on Stack Overflow
See other posts from Stack Overflow
or by Claudiu
Published on 2010-04-11T03:20:54Z
Indexed on
2010/04/11
3:23 UTC
Read the original article
Hit count: 260
Is there any way to run the gcc preprocessor, but only for user-defined macros? I have a few one-liners and some #ifdef etc... conditionals, and I want to see what my code looks like when just those are expanded. As it is, the includes get expanded, my fprintf(stderr)s turn into fprintf(((__getreeent())->_stderr), etc...
© Stack Overflow or respective owner