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.
There is no such command. However, MSDN (both online and offline) lists all the preprocessor defines, both Microsoft specific, standard defined and ANSI defines.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With