build: silence some gcc 11 warnings

These warnings are valuable, but limit the noise for now by disabling
them.
This commit is contained in:
Avi Kivity
2021-10-10 17:19:14 +03:00
parent 029560c232
commit 15ffd84473

View File

@@ -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