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

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 6 15:55:24 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=18402

Jonathan Wakely <zilla at kayari.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/PR77795  |
         Resolution|MOVED                       |INVALID

--- Comment #8 from Jonathan Wakely <zilla at kayari.org> ---
(In reply to comment #5)
> In GCC 6.x and GCC 7, _GLIBCXX_HAVE_GETS is miscomputed by configure,
> because GCC's default language mode is C++14, and in C++14 glibc doesn't
> provide a gets; again, this accidentally works around the issue, but breaks
> conformance in C++98 / C++11 mode.

Indeed. Thanks for the analysis, I fixed this for GCC 6.3 and up, see
https://gcc.gnu.org/PR77795

-- 
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/20170106/39de7e60/attachment.html>


More information about the llvm-bugs mailing list