]> Savannah Git Hosting - gnulib.git/commit
stdbool: upgrade from C99 to C23
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2022 16:41:31 +0000 (11:41 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Sep 2022 16:45:05 +0000 (11:45 -0500)
commitf5ad0b6b38b2c915cd0923ba6160bf806e24b1ce
tree042a9cb5e9a61c905a122a975358c48c1feff853
parent36bd8062527050e73fa2e4616d1a538a5d2baae0
stdbool: upgrade from C99 to C23

Change the stdbool module so that it now emulates C23.
The module now assumes C99.  The old module (which assumes
C89 and emulates C99) is still available  as stdbool-c99,
but is deprecated.
* tests/test-stdbool.c [TEST_STDBOOL_H]: Do not include stdbool.h.
(WORKING_BOOL): Depend on HAVE_C_BOOL, not __STDC_VERSION__.
* m4/c-bool.m4, modules/c-bool, modules/c-bool-tests:
* tests/test-c-bool.c: New files.
ChangeLog
NEWS
doc/gnulib.texi
doc/posix-headers/stdbool.texi
m4/c-bool.m4 [new file with mode: 0644]
modules/stdbool
modules/stdbool-c99 [new file with mode: 0644]
modules/stdbool-c99-tests [new file with mode: 0644]
modules/stdbool-tests
tests/test-stdbool-c99.c [new file with mode: 0644]
tests/test-stdbool.c