AVR: fixed some build warnings with gcc 4.8.2

This commit is contained in:
Andrew Tridgell 2014-05-08 15:15:43 +10:00
parent b6774b8bc7
commit 3909a9574b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ DEFINES += -DSKETCH=\"$(SKETCH)\" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKE
DEFINES += $(EXTRAFLAGS) # from user config.mk
DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD)
WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align
WARNFLAGS += -Wwrite-strings -Wformat=2
WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter -Wno-missing-field-initializers
WARNFLAGSCXX = -Wno-reorder
DEPFLAGS = -MD -MT $@