[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Максим Прохоренко changed: What|Removed |Added CC||maxim.prohorenko at gmail dot com --- Comment #5 from Максим Прохоренко --- Support disabling forwarding via #paragma please. There is a lot of noise in the log if you include huge generated files. An example can be taken in the github project F2I-Consulting / fesapi. GCC_DIAG_IGNORED ("-Wmisleading-indentation") CLANG_DIAG_IGNORED ("-Wmisleading-indentation") #ifdef NEW_FESAPI #include "fesapi/eml2/AbstractHdfProxy.h" #else #include "fesapi/common/AbstractHdfProxy.h" #endif #include "fesapi/nsDefinitions.h" CLANG_DIAG_RESTORE GCC_DIAG_RESTORE
[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Dávid Bolvanský changed: What|Removed |Added CC||david.bolvansky at gmail dot com --- Comment #4 from Dávid Bolvanský --- Two years passed and no fix :( Can somebody look at it?
[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Eric Gallager changed: What|Removed |Added Status|WAITING |NEW --- Comment #3 from Eric Gallager --- (In reply to Manuel López-Ibáñez from comment #2) > It should be a matter of checking for warn_misleading_indentation at > c-family/c-indentation.c:get_visual_column() Oh, I guess if we already know where the fix needs to go, that's a confirmation of the bug
[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Manuel López-Ibáñez changed: What|Removed |Added Keywords||easyhack CC||manu at gcc dot gnu.org --- Comment #2 from Manuel López-Ibáñez --- It should be a matter of checking for warn_misleading_indentation at c-family/c-indentation.c:get_visual_column()
[Bug other/81334] -Wmisleading-indentation prints notes about being disabled even when already intentionally ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 Eric Gallager 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 --- (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 > 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?