altos/stm: Turn on -Wextra
authorKeith Packard <keithp@keithp.com>
Sat, 21 Dec 2013 06:45:56 +0000 (22:45 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 21 Dec 2013 06:45:56 +0000 (22:45 -0800)
All of the warnings for STM projects are cleaned up now

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/Makefile.defs

index d0e5a6995462ebe798fd9559ae0ba87ea21bebf4..1e31e5907fedf45a597ca637d49e9d72376d8b8b 100644 (file)
@@ -24,7 +24,7 @@ include $(TOPDIR)/Makedefs
 CC=$(ARM_CC)
 LIBS=$(PDCLIB_LIBS_M3) -lgcc
 
-WARN_FLAGS=-Wall
+WARN_FLAGS=-Wall -Wextra
 
 AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
 STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb \