https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105705 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- The warning seems to have started with r11-5391 Before that there was no warning even with -Wsystem-headers