* lib/verify.h (static_assert): Don't define in GNU C++ 6 or newer.
+2022-09-13 Bruno Haible <bruno@clisp.org>
+
+ verify: Avoid syntax error due to static_assert with GNU C++ 6.x.
+ * lib/verify.h (static_assert): Don't define in GNU C++ 6 or newer.
+
2022-09-13 Paul Eggert <eggert@cs.ucla.edu>
stdalign: prefer to not include <stdalign.h>
_GL_VERIFY (__VA_ARGS__, "static assertion failed", -)
# endif
# if (!defined static_assert \
- && __STDC_VERSION__ < 202311 && __cpp_static_assert < 201411)
+ && __STDC_VERSION__ < 202311 \
+ && __cpp_static_assert < 201411 && __GNUG__ < 6)
# define static_assert _Static_assert /* C11 requires this #define. */
# endif
#endif