http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59076
Bug ID: 59076 Summary: std::to_string(int ) could not be found in GCC 4.8.2 Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: chun-fu.yang at hp dot com when compile below example code with GCC4.8.2 i got error message reporting to_string was not declared. #include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { double f = 23.24; string s = to_string(f); cout<<s<<endl; return 0; } [Error] 'to_string' was not declared in this scope gcc version 4.8.2 (GCC) compiler options i specified when compiling the program as below: -std=c++11 -Wall platform environment: Win7