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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Nov 12 15:56:32 PST 2014


Issue #2734 has been updated by phma.

File stoitest.cpp added
File stoitest.cpp added

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

* Author: phma
* Status: New
* Priority: Normal
* Assignee: 
* 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)
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