-
Header Defines
Only header defines and nothing but header defines.
O_o
Yeah, okay, I don't know if I'm being dumb or what, but I can't figure out how to do this with "Microsoft Visual C++". It may not even be possible; I just assume it is possible.
[Edit]
To be more specific, I'm trying to do for "Microsoft Visual C++" this:
Code:
g++ -E -undef -dM test.cxx -U __STDC_HOSTED__ -U __cplusplus -U __STDC__>defines.txt
[/Edit]
Any help would be appreciated.
Soma
-
Don't see a "-dM" equivalent.
There is "/E[P]" and "/u". Then I suppose the defines could be grep'd from the output.
gg
-
O_o
Yep. It seems as if that is my only option.
Thanks for taking a look.
Soma