Re: g++ cannot find std::stoi

2014-06-02 Thread hhh
Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: h...@sdf.org writes: I'm trying to compile OpenCog [1] using g++47, but get an error about missing std::stoi. I have attached a micro-example [2] that generates the same error, if I try to compile it with: % g++47 -std=c++11 s.cc

Re: g++ cannot find std::stoi

2014-06-02 Thread Dimitry Andric
On 02 Jun 2014, at 15:49, h...@sdf.org wrote: Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org writes: h...@sdf.org writes: I'm trying to compile OpenCog [1] using g++47, but get an error about missing std::stoi. I have attached a micro-example [2] that generates the same error, if I

Re: g++ cannot find std::stoi

2014-05-29 Thread Lowell Gilbert
h...@sdf.org writes: I'm trying to compile OpenCog [1] using g++47, but get an error about missing std::stoi. I have attached a micro-example [2] that generates the same error, if I try to compile it with: % g++47 -std=c++11 s.cc s.cc: In function 'int main()': s.cc:8:13: error: 'stoi'

g++ cannot find std::stoi

2014-05-28 Thread hhh
Hi, I'm trying to compile OpenCog [1] using g++47, but get an error about missing std::stoi. I have attached a micro-example [2] that generates the same error, if I try to compile it with: % g++47 -std=c++11 s.cc s.cc: In function 'int main()': s.cc:8:13: error: 'stoi' is not a member of 'std'