Re: bool and C23

2022-09-10 Thread Bruno Haible
Paul Eggert wrote: > OK, attached is a revised Gnulib proposed patchset that does that. Looks all good to me. Great work, Paul! I'm starting portability tests of it now... Bruno

Re: bool and C23

2022-09-10 Thread Bruno Haible
On Samstag, 10. September 2022 06:43:06 CEST Paul Eggert wrote: > 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_STD

Re: bool and C23

2022-09-10 Thread Paul Eggert
Thanks for catching that doc bug. I installed into Gnulib the stdbool patches with a fix for that, and also with one small change to tests/test-stdbool.c so that it depends on HAVE_C_BOOL instead of __STDC_VERSION__. After we have more experience with this in Gnulib, we can start thinking abo

Re: bool and C23

2022-09-10 Thread Bruno Haible
> I'm starting portability tests of it now... Result of portability testing: All is fine (no compilation error) on - glibc (Ubuntu 22.04, Debian 11.1, CentOS 7) - musl libc - GNU/Hurd - macOS - FreeBSD 11, 13.1 - NetBSD 9.0 - OpenBSD 7.0 - AIX xlc and xlclang - Solaris 10 - Sol