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
redi at gcc dot gnu.org via Gcc-bugs Tue, 24 May 2022 01:58:11 -0700
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