diff options
author | Haru <haru@dotalux.com> | 2019-08-25 17:21:24 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-09-22 20:17:33 +0200 |
commit | 092e3205ab3be1605c6769fbf774619d13526907 (patch) | |
tree | 17f7586816e60fcc6d61d36d090235a454ddd4ae /configure.ac | |
parent | 76896e85057760d7f412293b912dce77d9016415 (diff) | |
download | hercules-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.ac | 1 |
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> |