https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105705
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- The warning started to be given without -Wsystem-headers with r12-1992 It was already present with -Wsystem-headers, but suppressed by default.