[Bug libc/13566] Glibc should define gets for C++11

zilla at kayari dot org sourceware-bugzilla@sourceware.org
Thu Jan 5 18:50:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=13566

Jonathan Wakely <zilla at kayari dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zilla at kayari dot org

--- Comment #1 from Jonathan Wakely <zilla at kayari dot org> 2012-01-05 18:49:58 UTC ---
(In reply to comment #0)
> http://gcc.gnu.org/ml/gcc/2012-01/msg00041.html .

That build failure is in C++03 code, not C++11

gets() needs to be defined for C++ even when _GNU_SOURCE is defined.

I suggest checking whether __cplusplus <= 201103L

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list