aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEvgeny Grin <k2k@narod.ru>2023-05-15 15:27:21 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-06-01 09:09:18 +0300
commit191557358a8f371e032b2135f94133009dabab1d (patch)
treedba4190b36862311e15583785d411260c2541602 /contrib
parent50e28fbb90706a255d006fcc1988546078d64dac (diff)
downloadlibmicrohttpd-191557358a8f371e032b2135f94133009dabab1d.tar.gz
libmicrohttpd-191557358a8f371e032b2135f94133009dabab1d.zip
Added more mutes for autoconf compiler warnings
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fixes-autoconf/c_backported.m42
1 files changed, 2 insertions, 0 deletions
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],
515 [AC_COMPILE_IFELSE([AC_LANG_SOURCE( 515 [AC_COMPILE_IFELSE([AC_LANG_SOURCE(
516[[ #ifndef __STDC_NO_VLA__ 516[[ #ifndef __STDC_NO_VLA__
517 #error __STDC_NO_VLA__ not defined 517 #error __STDC_NO_VLA__ not defined
518 choke me now
518 #endif 519 #endif
519]])], 520]])],
520 [ac_cv_c_vararrays='no: __STDC_NO_VLA__ is defined'], 521 [ac_cv_c_vararrays='no: __STDC_NO_VLA__ is defined'],
@@ -546,6 +547,7 @@ AC_DEFUN([AC_C_VARARRAYS],
546 int D[m]; 547 int D[m];
547 static int (*q)[m] = &B; 548 static int (*q)[m] = &B;
548 int (*s)[n] = q; 549 int (*s)[n] = q;
550 (void) simple;
549 return C && &x[0][0] == &D[0] && &D[0] == s[0]; 551 return C && &x[0][0] == &D[0] && &D[0] == s[0];
550 } 552 }
551 #endif 553 #endif