summaryrefslogtreecommitdiff
path: root/src/stmf0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-18 10:42:23 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commita12dc56db6d5245ee8ac594337576dd85791a984 (patch)
tree4a1955751cbef92963f1f69141a34e737fd4d5e3 /src/stmf0
parentfda36e57205138f6c180a18b54956ea1682a5293 (diff)
altos: Add -Wshadow to CFLAGS
And fix up the related messages. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stmf0')
-rw-r--r--src/stmf0/Makefile-stmf0.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stmf0/Makefile-stmf0.defs b/src/stmf0/Makefile-stmf0.defs
index 9372edc0..0438fc7b 100644
--- a/src/stmf0/Makefile-stmf0.defs
+++ b/src/stmf0/Makefile-stmf0.defs
@@ -30,7 +30,8 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \
-Wstrict-prototypes \
-Wmissing-prototypes \
-Wmissing-declarations \
- -Wnested-externs
+ -Wnested-externs \
+ -Wshadow
AO_CFLAGS=-I. -I$(TOPDIR)/stmf0 -I$(TOPDIR)/kernel -I$(TOPDIR)/drivers \
-DNEWLIB_INTEGER_PRINTF_SCANF \