Preprocessor output

后端 未结 5 1002
灰色年华
灰色年华 2020-11-27 04:39

How do I view the output produced by the C pre-processor, prior to its conversion into an object file?

I want to see what the MACRO definitions do t

5条回答
  •  Happy的楠姐
    2020-11-27 05:22

    It depends on the compiler you use.
    With GCC, you can specify the -E flag on the command-line to let the compiler produce the pre-processor output.

提交回复
热议问题