[PATCH] features.h: do not consider _GNU_SOURCE for gets

Arsen Arsenović arsen@aarsen.me
Sun Aug 16 09:04:27 GMT 2026


Arsen Arsenović <arsen@aarsen.me> writes:

> Currently, -std=c99 -D_GNU_SOURCE and similar lack the 'gets'
> declaration.
>
> This causes, say, programs using the:
>
>   extern __typeof__ (gets) function __attribute__ ((__warning__ (...)))

There's a typo there.  That's meant to be:

  extern __typeof__ (gets) gets __attribute__ ((__warning__ (...)))

... of course.
-- 
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 418 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260816/8520b488/attachment.sig>


More information about the Libc-alpha mailing list