[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 24 16:21:00 GMT 2017
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?
More information about the Gcc-bugs
mailing list