From 15ffd84473db5e030d15991b7e12c5286b64631b Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 10 Oct 2021 17:19:14 +0300 Subject: [PATCH] build: silence some gcc 11 warnings These warnings are valuable, but limit the noise for now by disabling them. --- configure.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.py b/configure.py index 31e7d18040..cb6277314f 100755 --- a/configure.py +++ b/configure.py @@ -1314,6 +1314,10 @@ warnings = [ '-Wno-uninitialized-const-reference', # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 '-Wno-psabi', + '-Wno-narrowing', + '-Wno-array-bounds', + '-Wno-nonnull', + '-Wno-catch-value', ] warnings = [w