This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: -Wall by default
On Sat, Apr 7, 2012 at 5:57 PM, Miles Bader <miles@gnu.org> wrote:
> Dave Korn <dave.korn.cygwin@gmail.com> writes:
>> ? IMHO we should move the -Wunused ones into -Wextra if we're going to turn on
>> -Wall by default. ?The rest seem pretty reasonable defaults to me.
>
> How about instead adding new "-Wstandard", which will be on by default,
> and keeping -Wall / -Wextra the same (so as to not _remove_ warnings for
> people that currently use -Wall).
In the end, a new option might probably be a good
compromise even if I dislike the proliferation of options. Thanks,
-- Gaby