Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual C++ dump preprocessor defines

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.

like image 970
Surya Avatar asked Jan 09 '11 16:01

Surya


1 Answers

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

like image 118
Necrolis Avatar answered Oct 12 '22 18:10

Necrolis