c preprocessor - C/C++ Compiler listing what's defined -


this question : is there way tell whether code being compiled part of pch? lead me thinking this.

is there way, in perhaps compilers, of getting c/c++ compiler dump out defines it's using?

edit: know technically pre-processor issue let's add within term compiler.

yes. in gcc

g++ -e -dm <file> 

i bet possible in compilers.


Comments