This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/4] Add -Wmisleading-indentation to -Wall
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: Patrick Palka <patrick at parcs dot ath dot cx>, Richard Biener <richard dot guenther at gmail dot com>, Jeff Law <law at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 2 Nov 2015 21:35:32 +0100 (CET)
- Subject: Re: [PATCH 4/4] Add -Wmisleading-indentation to -Wall
- Authentication-results: sourceware.org; auth=none
- References: <1446137381-32748-1-git-send-email-dmalcolm at redhat dot com> <1446137381-32748-5-git-send-email-dmalcolm at redhat dot com> <5632597B dot 2020205 at redhat dot com> <CAFiYyc2Dps236sGmHZe6pfXdP5E_pfiYE_LBx76WW9-7q+VV=Q at mail dot gmail dot com> <CA+C-WL_jkYx77NAtaZLOGG5XRZLhY0ha3D+NSgJoXXysRQTLCg at mail dot gmail dot com> <1446481314 dot 2994 dot 27 dot camel at surprise> <alpine dot DEB dot 2 dot 20 dot 8 dot 1511021334490 dot 17787 at idea> <1446492912 dot 2994 dot 102 dot camel at surprise>
- Reply-to: gcc-patches at gcc dot gnu dot org
On Mon, 2 Nov 2015, David Malcolm wrote:
I think we want the first kind of thing at -Wall, but I'm not so keen on
the second kind at -Wall. Is there precedent for "levels" of a warning?
(so e.g. pedantry level 1 at -Wall, level 2 at -Wextra, and have patch 1
be the difference between levels 1 and 2?)
You mean something like -Wstrict-overflow=n?
--
Marc Glisse