How do I run the GCC preprocessor to get the code after macros like #define are expanded?

后端 未结 3 874
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 06:11

Is there an option that the GCC preprocessor could generate C source code and filter out irrelevant source code?

For example, a .c file has a #def

3条回答
提交回复
热议问题