Run a “light” preprocessor for GCC

前端 未结 5 800
误落风尘
误落风尘 2021-02-07 10:37

Is there a 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

5条回答
  •  生来不讨喜
    2021-02-07 11:42

    One may use tools like unifdef, unifdefall — remove preprocessor conditionals from code

提交回复
热议问题