Enabled more complier warnings and removed one for Taranis. Other targets still have some warnings.

This commit is contained in:
Damjan Adamic
2014-11-16 19:51:49 +01:00
parent a3f712b3dc
commit 3449118e07
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -1155,6 +1155,7 @@ CPPFLAGS += $(CPPDEFS)
CPPFLAGS += -Wall
CPPFLAGS += -fno-exceptions
CPPFLAGS += -Wno-strict-aliasing
CPPFLAGS += -Wformat -Wreturn-type -Wunused -Wuninitialized -Wunknown-pragmas -Wno-switch -Wtype-limits
INCFLAGS = $(patsubst %,-I%,$(INCDIRS))
EXTRAINCFLAGS = $(patsubst %,-I%,$(EXTRAINCDIRS))
@@ -1443,7 +1444,7 @@ ifeq ($(ARCH), AVR)
$(CC) $(AVRCPPFLAGS) $< --output $@ $(LDFLAGS)
else
%.o: %.c
$(CC) $(ARMCPPFLAGS) $< -o $@
$(CC) $(ARMCPPFLAGS) -Wimplicit $< -o $@
%.o: %.s
$(AS) $< -o $@
TMP = $(SRC:.c=.o)