* m4/assert_h.m4 (gl_ASSERT_H): Suppress bogus warnings from Apple clang 13 (clang-1300.0.29.30). Problem privately reported by Mattias EngdegÄrd for GNU Emacs. --- ChangeLog | 7 +++++++ m4/assert_h.m4 | 1 + 2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 3b97909de5..74b496ddee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2022-09-30 Paul Eggert <[email protected]> + + assert-h: suppress Apple clang 13 false alarms + * m4/assert_h.m4 (gl_ASSERT_H): Suppress bogus warnings from Apple + clang 13 (clang-1300.0.29.30). Problem privately reported by + Mattias EngdegÄrd for GNU Emacs. + 2022-09-26 Daiki Ueno <[email protected]> largefile: fix detection of time_t size on mingw32 diff --git a/m4/assert_h.m4 b/m4/assert_h.m4 index c411a34aa7..c1306daef4 100644 --- a/m4/assert_h.m4 +++ b/m4/assert_h.m4 @@ -18,6 +18,7 @@ AC_DEFUN([gl_ASSERT_H], [AC_LANG_PROGRAM( [[#if defined __clang__ && __STDC_VERSION__ < 202311 #pragma clang diagnostic error "-Wc2x-extensions" + #pragma clang diagnostic error "-Wc++17-extensions" #endif #ifdef INCLUDE_ASSERT_H #include <assert.h> -- 2.37.3
