Tools: waf: stop adding -Wno-error=suggest-override for CAN boards

This commit is contained in:
Peter Barker 2019-08-14 10:45:52 +10:00 committed by Peter Barker
parent a3bde4f054
commit be173a9514

View File

@ -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',