[cfe-dev] [libc++] gets removed from C11

Игорь Пашев pashev.igor at gmail.com
Mon Jul 1 01:07:29 PDT 2013


2013/7/1 Matthew Dempsky <matthew at dempsky.org>:
> On Sun, Jun 30, 2013 at 10:56 PM, Richard Smith <richard at metafoo.co.uk> wrote:
>> I wonder if this approach is backwards. A <stdio.h> should provide
>> gets unless it's in C11 mode. No C++ mode is C11, so if the
>> implementation fails to provide gets in C++, then it's broken. Perhaps
>> we should blacklist the broken implementations instead of whitelist
>> the known-working ones?
>
> +1

BTW, which libc we are talking about?

glibc looks good [1]

[1] http://sourceware.org/git/?p=glibc.git;a=blob;f=libio/stdio.h;h=28c98e9163758e56585ff94787a802fe0b54a325;hb=c3a87236702cb73be1dada3438bbd3c3934e83f8#l631



More information about the cfe-dev mailing list