Visual C++ dump preprocessor defines

筅森魡賤 提交于 2020-06-23 06:05:50

问题


I'm trying to find out all the preprocessor defines of the Visual C++ compiler (MSVC). I can do

gcc -dM -E - < /dev/null

on GCC to dump all the preprocessor defines. Do we have something similar with the Visual C++ compiler compiler?

I'm using Visual C++ 9.0.


回答1:


There is no such command. However, MSDN (both online and offline) lists all the preprocessor defines, both Microsoft specific, standard defined and ANSI defines.



来源:https://stackoverflow.com/questions/4640267/visual-c-dump-preprocessor-defines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!