* m4/limits-h.m4 (gl_LIMITS_H): Test also for BOOL_MAX.
* doc/posix-headers/limits.texi: Mention the clang bug.
+2023-02-09 Bruno Haible <bruno@clisp.org>
+
+ 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.
+
2023-02-09 Bruno Haible <bruno@clisp.org>
Fix error in C++ mode on glibc systems (regression 2022-04-28).
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}:
int wb = WORD_BIT;
int ullw = ULLONG_WIDTH;
int bw = BOOL_WIDTH;
+ int bm = BOOL_MAX;
]])],
[gl_cv_header_limits_width=yes],
[gl_cv_header_limits_width=no])])