diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index b8ce0937ca..0c1e4196c0 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -190,12 +190,6 @@ def setup_can_build(cfg): '-DUAVCAN_STM32_NUM_IFACES=2' ] - (major, minor, patchlevel) = cfg.env.CC_VERSION - if int(major) >= 5 and int(minor) > 1: - env.CXXFLAGS += [ - '-Wno-error=suggest-override', - ] - env.DEFINES += [ 'UAVCAN_CPP_VERSION=UAVCAN_CPP03', 'UAVCAN_NO_ASSERTIONS=1',