diff options
Diffstat (limited to 'm4/assert_h.m4')
-rw-r--r-- | m4/assert_h.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/assert_h.m4 b/m4/assert_h.m4 index c411a34aa7b..c1306daef4f 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> |