https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37820
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Brian Dessent from comment #1)
> 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.
>
Now it's gnu11 for C and gnu++14 for C++.
> To list predefined macros, use -dM with an empty input file, e.g. "gcc
> -dM -E - </dev/null".