https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65920
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- well GCC 2.9 was not standard complaint with respect of C++ STL so the string class was not part of the std namespace. But that changed with 3.0 which was over 10 years ago now. Again this is not a question about a GCC bug but rather a standard C++ question.