[Bug libstdc++/52015] std::to_string does not work under MinGW

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 26 10:00:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015

--- Comment #36 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Roman from comment #35)
> Tried to apply proposed patch for MinGW 4.8.1 and received no positive
> effect. Compiler tells about error : 'stoi' was not declared in this scope.
> Have any Idea how to fix it?

Not enough information to be useful.

Did you even use -std=c++11 ? 

Noone here can debug your modified sources, you'll have to look into what is or
isn't defined on your system after the patch. Try looking at the preprocessed
source, for example.



More information about the Gcc-bugs mailing list