This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Please, take '-Wmisleading-indentation' out of -Wall
- From: Jason Merrill <jason at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Antonio Diaz Diaz <antonio at gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 31 May 2016 10:38:36 -0400
- Subject: Re: Please, take '-Wmisleading-indentation' out of -Wall
- Authentication-results: sourceware.org; auth=none
- References: <572A2029 dot 6030106 at gnu dot org> <CA+C-WL-zV_Ds3KFQt41eKyZgjhD8LhhO0jp+24zNFpxDRYBFvA at mail dot gmail dot com> <20160530170645 dot GU28550 at tucnak dot redhat dot com> <CA+C-WL9DvFUOj-2Ozgn8oy1=3SGfhDbCgyeVLN5CDPGxYinZRQ at mail dot gmail dot com>
On Mon, May 30, 2016 at 3:15 PM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> Though there are some inconsistencies regarding the inclusiveness of
> -Wall seeing as neither -Woverlength-strings nor -Wempty-body are
> enabled by -Wall even though they seemingly satisfy the criteria of
> -Wall more readily than -Wmisleading-indentation does.
We certainly don't want -Woverlength-strings in -Wall; that's a
pedantic portability warning, not a warning about code that is
probably incorrect.
There's an open BZ about -Wempty-body, bug 52961.
Jason