[Bug c++/122531] Warning option to turn off aka inheritance output
jg at jguk dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 13 02:14:37 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122531
--- Comment #7 from Jonny Grant <jg at jguk dot org> ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to Jonny Grant from comment #0)
> > This would turn off it all
> > -Wno-aka-output
>
> Definitely not - you're suggesting an option to adjust the output of
> diagnostics, not a warning option.
>
> It should be named like other options in
> https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Message-Formatting-Options.
> html not like a warning option, i.e. -fdiagnostics-xxx
>
> > I suggest with arguments eg only turn off STL
> > -Wno-aka-output=stl
>
> Definitely not, because "STL" is a misnomer.
>
> https://en.wikipedia.org/wiki/Standard_Template_Library#:~:
> text=The%20STL%20and%20the,distinct%20entities
Ah ok. I always think of std::string as a container, although it's a special
case holding nul terminated strings, different from vector etc.
-fdiagnostics-plain-output didn't reduce the output much
https://godbolt.org/z/ceo9M1Teh
Your PR 89370 would be really useful Jonathan, any chance someone could review
and approve it for GCC?
More information about the Gcc-bugs
mailing list