commit 191557358a8f371e032b2135f94133009dabab1d
parent 50e28fbb90706a255d006fcc1988546078d64dac
Author: Evgeny Grin <k2k@narod.ru>
Date: Mon, 15 May 2023 15:27:21 +0300
Added more mutes for autoconf compiler warnings
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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