https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Add -Wsystem-headers and you will get a warning.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 04 Apr 2022 16:11:49 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105156
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Add -Wsystem-headers and you will get a warning.