mirror of https://github.com/ArduPilot/ardupilot
SITL: prevent unused parameter warnings
This commit is contained in:
parent
cd8fd86565
commit
3dc0404e2b
|
@ -9,7 +9,7 @@ DEFINES = -DF_CPU=$(F_CPU)
|
|||
DEFINES += -DSKETCH=\"$(SKETCH)\" -DSKETCHNAME="\"$(SKETCH)\"" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKETCH)
|
||||
DEFINES += $(EXTRAFLAGS) # from user config.mk
|
||||
DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD)
|
||||
WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align
|
||||
WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wno-unused-parameter
|
||||
WARNFLAGS += -Wwrite-strings -Wformat=2
|
||||
WARNFLAGSCXX = -Wno-reorder
|
||||
DEPFLAGS = -MD -MT $@
|
||||
|
|
Loading…
Reference in New Issue