summaryrefslogtreecommitdiff
path: root/doc/posix-headers
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-10 11:41:31 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-10 11:45:05 -0500
commitf5ad0b6b38b2c915cd0923ba6160bf806e24b1ce (patch)
tree042a9cb5e9a61c905a122a975358c48c1feff853 /doc/posix-headers
parent36bd8062527050e73fa2e4616d1a538a5d2baae0 (diff)
downloadgnulib-f5ad0b6b38b2c915cd0923ba6160bf806e24b1ce.tar.gz
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.
Diffstat (limited to 'doc/posix-headers')
-rw-r--r--doc/posix-headers/stdbool.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/posix-headers/stdbool.texi b/doc/posix-headers/stdbool.texi
index 5b7ed0753f..d7ba4068fc 100644
--- a/doc/posix-headers/stdbool.texi
+++ b/doc/posix-headers/stdbool.texi
@@ -3,7 +3,12 @@
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdbool.h.html}
-Gnulib module: stdbool
+Gnulib module: stdbool-c99
+
+The @code{stdbool-c99} module is present only for programs that
+formerly used the old @code{stdbool} module for C99 compatibility,
+and that for some reason cannot use the current @code{stdbool} module
+for C23 compatibility.
Portability problems fixed by Gnulib:
@itemize