https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89549
--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Dávid Bolvanský from comment #8) > Why this annoying note cannot be disabled using > #pragma GCC diagnostic ignored "-Wmisleading-indentation" ? When a note associated with a warning can't be disabled with a pragma, that usually means that someone forgot to check the return value of the warning() call in GCC before calling inform(), but I dunno if that's the case here... > > So only solution is -Wno-misleading-indentation?