[Bug 1725848] Re: libstdc++-5-dev:amd64 5.5.0-1ubuntu1 configured without _GLIBCXX_USE_C99
Dimitri John Ledkov
launchpad at surgut.co.uk
Mon Oct 23 15:58:38 UTC 2017
huh, one should not use libstdc++5 at all ever. One should only use
libstdc++6. libstdc++5 is pre-historic ABI from the 90s no?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1725848
Title:
libstdc++-5-dev:amd64 5.5.0-1ubuntu1 configured without
_GLIBCXX_USE_C99
Status in gcc-5 package in Ubuntu:
Won't Fix
Bug description:
Test program compiled on Artful Aardvark Ubuntu 17.10.
$ which g++-5
/usr/bin/g++-5
$ /usr/bin/g++-5 --version
g++-5 (Ubuntu 5.5.0-1ubuntu1) 5.4.1 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ /usr/bin/g++-5 -std=c++11 -x c++ - <<EOF
#include <iostream>
#include <string>
int main()
{
std::cout << std::to_string(0) << '\n';
return 0;
}
EOF
Expected result
compile without errors, output 0
Actual result
<stdin>: In function ‘int main()’:
<stdin>:5:16: error: ‘to_string’ is not a member of ‘std’
Supposed cause
_GLIBCXX_USE_C99 is not set in
/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h
in package libstdc++-5-dev:amd64 5.5.0-1ubuntu1
Further information
Test program compiles and runs on Zesty Zapus with package
libstdc++-5-dev:amd64 (5.4.1-8ubuntu1).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1725848/+subscriptions
More information about the foundations-bugs
mailing list