From 092e3205ab3be1605c6769fbf774619d13526907 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 25 Aug 2019 17:21:24 +0200 Subject: Disable some warnings when compiling with gcc-9 The warning flag -Warray-bounds is currently not compatible with the ZEROED_BLOCK implementation Signed-off-by: Haru --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ec9e35cfe..cbb9a5c46 100644 --- a/configure.ac +++ b/configure.ac @@ -1090,6 +1090,7 @@ AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) AC_CHECK_COMPILER_WNOFLAG(switch) AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers) AC_CHECK_COMPILER_WNOFLAG(suggest-attribute=format) +AC_CHECK_COMPILER_WNOFLAG(array-bounds) # Certain versions of gcc make -Wshadow completely useless by making it flood # you with unnecessary warnings -- cgit v1.2.3-70-g09d2