[RFC v2 1/3] cdefs: Add __bool
Alejandro Colomar
alx@kernel.org
Tue Sep 2 15:34:37 GMT 2025
Hi Andreas,
On Tue, Sep 02, 2025 at 05:13:19PM +0200, Andreas Schwab wrote:
> On Sep 02 2025, Alejandro Colomar wrote:
>
> > This seems entirely possible, given the glibc documentation requires
> > GCC 12.1 at least.
> > <https://sourceware.org/glibc/manual/latest/html_node/Tools-for-Compilation.html>
>
> That's about building glibc itself, but <sys/cdefs.h> is an installed
> header which must support arbitrary compilers.
Hmmmm. Can we raise the minimum compiler required to use the headers
to disallow GCC 2.x (or anything that doesn't have _Bool)?
Otherwise, how do we provide functions that use _Bool?
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250902/1c5e10db/attachment.sig>
More information about the Libc-alpha
mailing list