PreProcessor defines
-
Does anyone know of a way to discover all of the preprocessor defines that are set before and during the VC++ compilation of a module? I just want to know the results after plowing through a morass of headers. GNU CPP has such an output. Does VC++? Thanks. Chas L.
-
Does anyone know of a way to discover all of the preprocessor defines that are set before and during the VC++ compilation of a module? I just want to know the results after plowing through a morass of headers. GNU CPP has such an output. Does VC++? Thanks. Chas L.
The closest thing I know of is compiling with /P or /EP to see the preprocessor output --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy
-
The closest thing I know of is compiling with /P or /EP to see the preprocessor output --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy
Thanks, but as you know that gives me the result, not the cause of the emitted code. I figured out I can use the GNU cpp.exe to get most of the info I want. Just need to get at all the built-in MSC defines. There is a list of them in the compiler docs, but it seems to be a small number of them... Thanks again. Chas L