From a12dc56db6d5245ee8ac594337576dd85791a984 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Feb 2019 10:42:23 -0800 Subject: altos: Add -Wshadow to CFLAGS And fix up the related messages. Signed-off-by: Keith Packard --- src/stm/Makefile.defs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stm') 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 \ -- cgit v1.2.3