* m4/assert_h.m4 (gl_ASSERT_H): Pacify older clangs too,
with regard to single-argument static_assert.
Problem found with xlclang 16.1 on AIX 7.2.
2023-01-13 Paul Eggert <eggert@cs.ucla.edu>
+ assert-h: suppress xlclang 16.1 false alarms
+ * m4/assert_h.m4 (gl_ASSERT_H): Pacify older clangs too,
+ with regard to single-argument static_assert.
+ Problem found with xlclang 16.1 on AIX 7.2.
+
assert-h: fix configure comment-out
* m4/assert_h.m4 (gl_ASSERT_H): Also break apart "#undef
static_assert" with /**/. Problem discovered with xlclang 16.1,
[AC_LANG_PROGRAM(
[[#if defined __clang__ && __STDC_VERSION__ < 202311
#pragma clang diagnostic error "-Wc2x-extensions"
- #pragma clang diagnostic error "-Wc++17-extensions"
+ #pragma clang diagnostic error "-Wc++1z-extensions"
#endif
#ifdef INCLUDE_ASSERT_H
#include <assert.h>