summaryrefslogtreecommitdiff
path: root/src/stm
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/stm
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/stm')
-rw-r--r--src/stm/Makefile.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index 7130965a..2db534c2 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -29,7 +29,8 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \
-Wstrict-prototypes \
-Wmissing-prototypes \
-Wmissing-declarations \
- -Wnested-externs
+ -Wnested-externs \
+ -Wshadow
AO_CFLAGS=-I. -I../stm -I../kernel -I../drivers -I../math -I../draw \
-DNEWLIB_INTEGER_PRINTF_SCANF \