On Wed, 13 Apr 2005, Ulrich Lauther wrote: > How can I find out the names and values of predefined values? > > I tried g++ -dM test.C > > but that doesn't produce any output.
Macros are defined in the preprocessor. The following does what you want:
cpp -dM /dev/null
If you absolutely need to go through g++, this is also valid:
echo | g++ -dM -E -
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus
