[PATCH v3 3/7] Assume support for __extension__ ({ })
Arsen Arsenović
arsen@aarsen.me
Tue Nov 11 09:14:41 GMT 2025
Alejandro Colomar <alx@kernel.org> writes:
> That triggers the question: What is a C compiler?
>
> Because if that includes a K&R C compiler, glibc clearly requires
> something better than that. glibc requires at least ANSI C89.
The manual states (in (libc)ISO C):
The GNU C Library is compatible with the C standard adopted by the
American National Standards Institute (ANSI): ‘American National
Standard X3.159-1989--"ANSI C"’ and later by the International
Standardization Organization (ISO): ‘ISO/IEC 9899:1990, "Programming
languages--C"’. We here refer to the standard as ISO C since this is
the more general standard in respect of ratification. The header
files and library facilities that make up the GNU C Library are a
superset of those specified by the ISO C standard.
... so, probably any ANSI C (or better) compiler.
--
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/20251111/2f4c39ca/attachment.sig>
More information about the Libc-alpha
mailing list