Clang++ 3.6 and g++ (4.7.2) cannot find std::stoll

John Marino dragonflybsd at marino.st
Thu Apr 30 13:22:01 PDT 2015


On 4/30/2015 22:08, Peter Sommerfeld wrote:
> Using DFLY 4.03 and compiling with clang++3.6 as well as with g++
> (-std=c++11)  the compilers reports an error when trying to call
> functions std::stoll() or std::to_string() of <string>:
> "no member named 'stoll' in namspace 'std'".
> 
> String members work as expected. Any pointer what is wrong here
> and what can be done ?

stoll and friends should be fixed on the development branch.  The only
thing "to be done" is upgrade to it, or wait for 4.2 to be released.

John



More information about the Users mailing list