summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-08-25 17:21:24 +0200
committerHaru <haru@dotalux.com>2019-09-22 20:17:33 +0200
commit092e3205ab3be1605c6769fbf774619d13526907 (patch)
tree17f7586816e60fcc6d61d36d090235a454ddd4ae /configure.ac
parent76896e85057760d7f412293b912dce77d9016415 (diff)
downloadhercules-092e3205ab3be1605c6769fbf774619d13526907.tar.gz
hercules-092e3205ab3be1605c6769fbf774619d13526907.tar.bz2
hercules-092e3205ab3be1605c6769fbf774619d13526907.tar.xz
hercules-092e3205ab3be1605c6769fbf774619d13526907.zip
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 <haru@dotalux.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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 <https://lkml.org/lkml/2006/11/28/239>