diff options
author | Evgeny Grin <k2k@narod.ru> | 2023-05-15 15:27:21 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-01 09:09:18 +0300 |
commit | 191557358a8f371e032b2135f94133009dabab1d (patch) | |
tree | dba4190b36862311e15583785d411260c2541602 /contrib | |
parent | 50e28fbb90706a255d006fcc1988546078d64dac (diff) | |
download | libmicrohttpd-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.m4 | 2 |
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 |