build: disable warnings that cause false-positive errors with gcc 12

gcc 12 generates some incorrect warnings (that we treat as errors).
Silence them so we can build.
This commit is contained in:
Avi Kivity
2022-04-17 14:25:01 +03:00
parent 160bbb00dd
commit 7129ddfa67

View File

@@ -1328,6 +1328,11 @@ warnings = [
'-Wno-array-bounds',
'-Wno-nonnull',
'-Wno-catch-value',
'-Wno-stringop-overread', # false positives with gcc 12
'-Wno-uninitialized', # false positives with gcc 12,
'-Wno-missing-attributes', # something in seastar's memory.cc, TBD,
'-Wno-use-after-free', # false positives with gcc 12
'-Wno-dangling-pointer', # false positives with gcc 12
]
warnings = [w