autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bool and C23


From: Paul Eggert
Subject: Re: bool and C23
Date: Fri, 9 Sep 2022 23:43:06 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 9/9/22 04:14, Bruno Haible wrote:
   I would suggest to keep*one*  module, and keep it named 'stdbool'.
   Its meaning will be "provide bool, true, false according to the standards".
   It can invoke AC_HEADER_STDBOOL and AC_C_BOOL under the hood.
   The important point is that the migration from older to newer ISO standard
   versions is transparent (not troublesome) for the Gnulib user.

OK, attached is a revised Gnulib proposed patchset that does that. It changes stdbool to assume C99 (since that should be safe now), which means stdbool no longer needs to use AC_HEADER_STDBOOL. It moves the old stdbool stuff into a new module 'stdbool-c99' that's already marked obsolescent, in case someone still needs to port to pre-C99 compilers for some reason.

Attachment: 0001-stdbool-upgrade-from-C99-to-C23.patch
Description: Text Data

Attachment: 0002-Rely-on-new-stdbool-behavior.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]