[LLVMbugs] [Bug 18402] no ::gets in the global namespace when compiling <ios>

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 6 13:45:00 PST 2014


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Not our bug.

glibc doesn't provide '::gets' in C++1y mode.
libstdc++-4.8 tries to use '::gets' in C++1y mode.

By chance, glibc is correct here (there is no ::gets in C++1y, but glibc made
the change long before the decision was made for C++1y). libstdc++-4.8 is not a
C++1y standard library, so this doesn't work. This should work fine if you use
(recent) libc++.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140106/8d6afec4/attachment.html>

More information about the llvm-bugs mailing list