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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Nov 30 15:53:42 PST 2014


Issue #2734 has been updated by marino.

Status changed from New to Closed

I've imported 16 complex functions into libm from NetBSD.
>From this point, any gcc built from dports on master will be capable of c++11.

In addition, I update the config.h header for the gcc47 base compiler and it can also build the test case in this bug report (latest master of course).

closing the report...

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

* Author: phma
* Status: Closed
* 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