https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90521
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- The code is just wrong and should be fixed by removing "::basic_string". I don't see that wrong code in the upstream gdal code, so it looks like somebody introduced it to your copy of gdal.