From 17ba7180d14995a542aa7407426e9fa63c16009b Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Tue, 23 May 2023 10:27:44 -0600 Subject: [PATCH] waf: Enable Werror for gcc 11.3.0 Signed-off-by: Ryan Friedman --- Tools/ardupilotwaf/boards.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index bc3f62e90f..3e6985237d 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -1082,13 +1082,14 @@ class chibios(Board): ] # whitelist of compilers which we should build with -Werror - gcc_whitelist = [ + gcc_whitelist = frozenset([ ('4','9','3'), ('6','3','1'), ('9','2','1'), ('9','3','1'), ('10','2','1'), - ] + ('11','3','0'), + ]) if cfg.env.HAL_CANFD_SUPPORTED: env.DEFINES.update(CANARD_ENABLE_CANFD=1)