Re: bool and C23

2022-08-21 Thread Zack Weinberg
On Sat, Aug 20, 2022, at 4:20 PM, Paul Eggert wrote: > Thanks for working on this. > > One general comment: some names use 'bool', while others use 'boolean'. > I suggest sticking with 'bool' for consistency. The intent here was to use 'bool' when referring specifically to the C-family type name,

Re: bool and C23

2022-08-21 Thread Paul Eggert
[cc'ing this to bug-gnulib since it's Gnulib-relevant. This follows up on the thread starting here: https://lists.gnu.org/r/autoconf/2022-08/msg3.html ] On 8/21/22 07:59, Zack Weinberg wrote: > @defmac AC_C_BOOL (@ovar{if-required}) How about if we omit the IF-REQUIRED parameter? It ma

Re: bool and C23

2022-08-21 Thread Bruno Haible
On Monday I wrote: > > to exclude other problems, we need to check it on a platform-by-platform > > basis. This is the situation on the various platforms: * In C++ mode, - either the C is used, - or a C++ exists that #include - or a C++ exists that #include <__config>,

Re: bool and C23

2022-08-21 Thread Tim Rice
On Sun, 21 Aug 2022, Bruno Haible wrote: > > This is the situation on the various platforms: [snip] > * In C mode: does > > AIX: #include , defines only macros > FreeBSD: self-contained > Haiku: self-contained > HP-UX: #include , defines only macros > macOS: self-contained