summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-02-09 13:30:04 +0100
committerBruno Haible <bruno@clisp.org>2023-02-09 13:30:04 +0100
commit4603b10e536282d6c7e5f76d7388357d356ee2d3 (patch)
tree99358a225eacedf3e5cfe7c99385da5a9aa3fe2b /doc
parente5ba746bbe60e1f9d6ba89acaf2cbd9ec0a76f06 (diff)
downloadgnulib-4603b10e536282d6c7e5f76d7388357d356ee2d3.tar.gz
limits-h: Work around a clang 15 bug.
* m4/limits-h.m4 (gl_LIMITS_H): Test also for BOOL_MAX. * doc/posix-headers/limits.texi: Mention the clang bug.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-headers/limits.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-headers/limits.texi b/doc/posix-headers/limits.texi
index 22dc4239f7..09440cac8d 100644
--- a/doc/posix-headers/limits.texi
+++ b/doc/posix-headers/limits.texi
@@ -21,6 +21,9 @@ glibc 2.24, NetBSD 9.0, many others.
The macros @code{BOOL_MAX} and @code{BOOL_WIDTH} are not defined on
some platforms:
glibc 2.32, many others.
+@item
+The macro @code{BOOL_MAX} is not defined with some compilers:
+clang 15.0.6.
@end itemize
Portability problems fixed by Gnulib module @code{gethostname}: