From 8ef1db154098e6b18e74227f8b3f3a20b307d92d Mon Sep 17 00:00:00 2001 From: Evgeny Grin Date: Mon, 15 May 2023 15:27:21 +0300 Subject: [PATCH] Added more mutes for autoconf compiler warnings --- contrib/fixes-autoconf/c_backported.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/fixes-autoconf/c_backported.m4 b/contrib/fixes-autoconf/c_backported.m4 index c0e7aabc..0cac1dc5 100644 --- a/contrib/fixes-autoconf/c_backported.m4 +++ b/contrib/fixes-autoconf/c_backported.m4 @@ -515,6 +515,7 @@ AC_DEFUN([AC_C_VARARRAYS], [AC_COMPILE_IFELSE([AC_LANG_SOURCE( [[ #ifndef __STDC_NO_VLA__ #error __STDC_NO_VLA__ not defined + choke me now #endif ]])], [ac_cv_c_vararrays='no: __STDC_NO_VLA__ is defined'], @@ -546,6 +547,7 @@ AC_DEFUN([AC_C_VARARRAYS], int D[m]; static int (*q)[m] = &B; int (*s)[n] = q; + (void) simple; return C && &x[0][0] == &D[0] && &D[0] == s[0]; } #endif