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

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Jan 5 18:23:00 GMT 2012


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

             Bug #: 13566
           Summary: Glibc should define gets for C++11
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: vries@gcc.gnu.org
    Classification: Unclassified


With this change:
...
    [BZ #13528]
    * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
...

gets is no longer defined for C++11, while it should be. This causes breakage
when building libstdc++. See also discussion at
http://gcc.gnu.org/ml/gcc/2012-01/msg00041.html .

-- 
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