diff options
| author | Keith Packard <keithp@keithp.com> | 2019-02-18 10:42:23 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
| commit | a12dc56db6d5245ee8ac594337576dd85791a984 (patch) | |
| tree | 4a1955751cbef92963f1f69141a34e737fd4d5e3 /src/stmf0 | |
| parent | fda36e57205138f6c180a18b54956ea1682a5293 (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.defs | 3 |
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 \ |
