This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jul 2017 16:21:41 +0000
- Subject: [Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
- Auto-submitted: auto-generated
- References: <bug-81334-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-07-24
CC| |egallager at gcc dot gnu.org
Summary|-Wmisleading-indentation |-Wmisleading-indentation
| |prints notes about being
| |disabled even when already
| |intentionally ignored
Ever confirmed|0 |1
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Mick P. from comment #0)
> "note: -Wmisleading-indentation is disabled from this point onwards, since
> column-tracking was disabled due to the size of the code/headers
> if(Min<0) Min = 0; if(Max<Min) Max = Min;"
>
> I'm seeing output like this even while -Wmisleading-indentation is #pragma
> ignored and so cannot be emitted itself.
>
> Of course clients shouldn't have to disable this on the command-line in
> order to quite third party headers. (And so not be able to enjoy this
> gloriously diversity killing--and therefor creativity eradicating--feature
> for themselves.)
Could you attach preprocessed source that triggers this note?