Preprocessor output

后端 未结 5 992
灰色年华
灰色年华 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条回答
  •  时光取名叫无心
    2020-11-27 05:17

    You can check out my script described here:

    http://mosermichael.github.io/cstuff/all/projects/2011/09/16/preprocessor.html

    It formats the preprocessor output into a (hopefully) readable html document: lines that are different due to preprocessor are marked in the file.

提交回复
热议问题