[DragonFlyBSD - Bug #2734] c++11 is missing stoi
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sun Nov 30 10:17:19 PST 2014
Issue #2734 has been updated by marino.
gcc has the missing functions built in, although I don't know yet if this includes gcc 4.7. A failed conftest doesn't mean there's no C99, it just means it needs to use builtin intead of libc I think.
----------------------------------------
Bug #2734: c++11 is missing stoi
http://bugs.dragonflybsd.org/issues/2734#change-12348
* 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