[DragonFlyBSD - Bug #2734] c++11 is missing stoi

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Nov 30 10:31:27 PST 2014


Issue #2734 has been updated by marino.


early research of mine indicates swildner is correct and the missing obscure complex functions are causing dragonfly to be declared C99 incapable even though it could handle stoi and other functions.

Maybe it's best just to add the functions from NetBSD into libm.

----------------------------------------
Bug #2734: c++11 is missing stoi
http://bugs.dragonflybsd.org/issues/2734#change-12350

* Author: phma
* Status: New
* Priority: Normal
* Assignee: marino
* Category: Build
* Target version: 4.0.x
----------------------------------------
$ g++ --std=c++11 -o stoitest stoitest.cpp
stoitest.cpp: In function 'int main(int, char**)':
stoitest.cpp:18:15: error: 'stoi' was not declared in this scope

This program compiles and runs on Ubuntu Linux, using g++ 4.8.2. It produces the above error on DragonFly BSD, both using the g++ 4.7.4 in world and using g++ 4.8.3 installed as a package.

---Files--------------------------------
stoitest.cpp (359 Bytes)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list