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

Richard Smith richard at metafoo.co.uk
Mon Jul 1 10:24:26 PDT 2013


On Mon, Jul 1, 2013 at 1:07 AM, Игорь Пашев <pashev.igor at gmail.com> wrote:
> 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]

Not to me. They remove the function in C++14 mode, for some reason.




More information about the cfe-dev mailing list