Visual C ++转储预处理器定义 [英] Visual C++ dump preprocessor defines
本文介绍了Visual C ++转储预处理器定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图找出 Visual C ++编译器的所有预处理器定义(MSVC)。我可以做到
I'm trying to find out all the preprocessor defines of the Visual C++ compiler (MSVC). I can do
gcc -dM -E - < /dev/null
转储所有预处理器定义。我们的Visual C ++编译器有类似的东西吗?
on GCC to dump all the preprocessor defines. Do we have something similar with the Visual C++ compiler compiler?
我正在使用 Visual C ++ 9.0 。
推荐答案
没有这样的解决方案命令。但是, MSDN (在线和离线)列出所有预处理器定义,包括Microsoft特定,标准定义和ANSI定义。
There is no such command. However, MSDN (both online and offline) lists all the preprocessor defines, both Microsoft specific, standard defined and ANSI defines.
这篇关于Visual C ++转储预处理器定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文