mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
waf: extend compiler warning suppression to include gcc 16.2
This commit is contained in:
committed by
Peter Barker
parent
dce40d9b0b
commit
7cf3943381
@@ -481,10 +481,10 @@ class Board:
|
||||
env.CFLAGS += [
|
||||
'-Werror=use-after-free',
|
||||
]
|
||||
if self.cc_version_gte(cfg, 14, 0) and self.cc_version_lte(cfg, 16, 1):
|
||||
if self.cc_version_gte(cfg, 14, 0) and self.cc_version_lte(cfg, 16, 2):
|
||||
# the following warnings appear to be buggy in later compiler versions
|
||||
# https://github.com/ArduPilot/ardupilot/issues/33206
|
||||
# TODO: readdress following a 16.2+ release
|
||||
# TODO: readdress following a 16.3+ release
|
||||
env.CXXFLAGS += [
|
||||
'-Wno-error=maybe-uninitialized',
|
||||
'-Wno-error=format-truncation',
|
||||
|
||||
Reference in New Issue
Block a user