https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #9 from Jonathan Wakely ---
In gcc-6 and later the condition is different:
#if __cplusplus >= 201103L
...
#if _GLIBCXX_USE_C99_STDIO
So the changes in glibc won't affect std::to_string() (but you will be
missing functionality in i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #8 from krzysio.kurek at wp dot pl ---
Wouldn't this bug affect all gcc compilers? I have 5, 6 and 7 installed, and
only 5 is affected.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #7 from Jonathan Wakely ---
The condition for std::to_string being declared in gcc-5 is:
#if __cplusplus >= 201103L && defined(_GLIBCXX_USE_C99)
So presumably _GLIBCXX_USE_C99 is false. If you're using glibc 2.26 you might
have hit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #5 from krzysio.kurek at wp dot pl ---
$ g++-5 -std=c++11 main.cpp -o string -v
Using built-in specs.
COLLECT_GCC=g++-5
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
Andrew Pinski changed:
What|Removed |Added
Component|c++ |libstdc++
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346
--- Comment #4 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #3)
> Can you provide the exact output of g++ then?
Can you provide the exact output of g++ -v then?
Sorry for the typo.