From: SF/projects/mingw n. l. <min...@li...> - 2011-09-23 09:53:17
|
Bugs item #3413241, was opened at 2011-09-23 05:53 Message generated for change (Tracker Item Submitted) made by kartfish You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3413241&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gcc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: kartfish (kartfish) Assigned to: Nobody/Anonymous (nobody) Summary: `to_string` is not a member of `std` Initial Comment: Hello all. gcc --version: gcc.exe (GCC) 4.6.1 mingw-get --version: mingw-get version 0.3-alpha-2.1 $ g++ to_string.cpp -o to_string.exe -std=c++0x to_string.cpp: In function 'int main(int, char**)': to_string.cpp:5:23: error: 'to_string' is not a member of 'std' Source code (to_string.cpp): #include <iostream> #include <string> int main(int argc, char **argv) { std::string number = std::to_string(42); std::cout << number << std::endl; return 0; } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3413241&group_id=2435 |