mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 16:22:15 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user