https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94746
Arseny Solokha <asolokha at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #1 from Arseny Solokha <asolokha at gmx dot com> --- I'm not a GCC developer, but this is by design. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsystem-headers