[Bug driver/37820] need command line option that prints all defaults and predefined macros
brian at dessent dot net
gcc-bugzilla@gcc.gnu.org
Tue Oct 14 04:34:00 GMT 2008
------- Comment #1 from brian at dessent dot net 2008-10-14 04:33 -------
Subject: Re: New: need command line option that prints all
defaults and predefined macros
http://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-98
This is covered in the manual. The default for C is gnu89 and the
default for C++ is gnu++98. The --help output is not supposed to be a
substitute for proper documentation, it's just a brief summary.
To list predefined macros, use -dM with an empty input file, e.g. "gcc
-dM -E - </dev/null".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37820
More information about the Gcc-bugs
mailing list