I am trying to find all preprocessor definitions of a Visual C ++ Compiler (MSVC). I can do
gcc -dM -E - < /dev/null
in GCC to reset all preprocessors. Do we have something similar with a Visual C ++ compiler?
I am using Visual C ++ 9.0 .
There is no such team. However, MSDN (both online and offline) contains a list of all preprocessors that define both Microsoft-defined and standard ANSI.