[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-28 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread krzysio.kurek at wp dot pl
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.

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread redi at gcc dot gnu.org
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

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread krzysio.kurek at wp dot pl
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

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82346 Andrew Pinski changed: What|Removed |Added Component|c++ |libstdc++ Target Milestone|---

[Bug libstdc++/82346] [5.5 Regression] String is not detected as a part of std

2017-09-27 Thread pinskia at gcc dot gnu.org
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.