Hi all
I've got a zone based on:
3f57ffe8-47da-11e4-aa8b-dfb50a06586a standard64 14.2.1 smartos
2014-09-29T13:12:19Z
where I've got g++ 4.7.3 and everything is working as "expected", but today
I tried to create a new zone by using "the latest bits" and I'm getting
trouble with g++..
I created the zone based on:
0edf00aa-0562-11e5-b92f-879647d45790 base-64 15.1.1 smartos
2015-05-28T17:50:41Z
and the C++11 support seems to be broken.. std::to_string seems to be
missing (and there are a number of other functions as well). I've tried g++
4.7.4, 4.8.4 and 4.9.2 in pkgsrc and they all seem to have the problem..
anyone else seen this?
Try compiling this with g++ -std=c++11 filename
#include <string>
int main(void)
{
std::string s = std::to_string(4);
std::stoi(s);
std::stof(s);
std::stoull(s);
return 0;
}
Cheers,
Trond
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com