https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107207
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- locale.h does NOT come from GCC but rather your libc provider. In this case mingw. Please report it to the mingw folks.