https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115420
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> --- You need to do: #include <string> This is documented already at https://gcc.gnu.org/gcc-13/porting_to.html too.