This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]