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

--- Comment #40 from Roman <roman.vasiliev at gmail dot com> ---
(In reply to Jonathan Wakely from comment #36)
> (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 ? 
Yes, shure.
> 
> 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.
I'm not familiar with such a matter. Attached files are:
stoi.cpp is initial code
stoi_prep.cpp is result of g++ stoi.cpp -E > stoi_prep.cpp
stoi_prep11.cpp is result of g++ stoi.cpp -E -std=c++11 > stoi_prep11.cpp

Reply via email to