Re: assert-h, stdbool: Allow mixed use of gcc/g++ and clang/clang++ again

2024-10-30 Thread Bruno Haible via Gnulib discussion list
I wrote: > The fix below makes this work with GCC and clang; other compilers are not > relevant > for this mode of building GNU clisp. > > The empirically determined replacement for HAVE_C_STATIC_ASSERT is: > static_assert is built-in > - C++ > g++ if __cplusplus >= 201103L && __GNUG__

Re: assert-h, stdbool: Allow mixed use of gcc/g++ and clang/clang++ again

2024-10-30 Thread Bruno Haible via Gnulib discussion list
I did: > 2024-10-29 Bruno Haible > > assert-h, stdbool: Allow mixed use of gcc/g++ and clang/clang++ again. > * m4/assert_h.m4 (gl_ASSERT_H): Improve indentation. With GCC and clang, > don't use the value of HAVE_C_STATIC_ASSERT. > * m4/c-bool.m4 (gl_C_BOOL): With GCC an