https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118700
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fno-canonical-system-headers fixes it.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 01 Feb 2025 10:28:39 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118700
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fno-canonical-system-headers fixes it.