* lib/intprops.h (_GL__GENERIC_BOGUS): Define to 1 on clang.
+2020-08-16 Bruno Haible <bruno@clisp.org>
+
+ intprops: Avoid bogus "warning: division by zero is undefined" on clang.
+ * lib/intprops.h (_GL__GENERIC_BOGUS): Define to 1 on clang.
+
2020-08-16 Bruno Haible <bruno@clisp.org>
log2l: Disable MSVC workaround on clang.
For now, assume all versions of GCC-like compilers generate bogus
warnings for _Generic. This matters only for compilers that
lack relevant builtins. */
-#if __GNUC__
+#if __GNUC__ || defined __clang__
# define _GL__GENERIC_BOGUS 1
#else
# define _GL__GENERIC_BOGUS 0