mirror of https://github.com/ArduPilot/ardupilot
build: disable warnings for unused params for FLYMAPLE
Other boards disable it, so the common code contains a lot of unused parameters already. Use -Wno-unused-parameter to reduce the "noise".
This commit is contained in:
parent
6522fb2621
commit
8630df00b3
|
@ -35,7 +35,7 @@ DEFINES += -DSKETCH=\"$(SKETCH)\" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKE
|
|||
DEFINES += $(EXTRAFLAGS)
|
||||
DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD)
|
||||
WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wno-psabi
|
||||
WARNFLAGS += -Wwrite-strings -Wformat=2
|
||||
WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter
|
||||
WARNFLAGSCXX = -Wno-reorder
|
||||
DEPFLAGS = -MD -MT $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue