From 8e1dcecd79a91976629362c2a05f5c1ef2495710 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Sep 2014 02:33:09 +0200 Subject: add -Wshadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1b15304..1e221d3 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ DEFS = __GCC__ # Warning flags, set to empty if you are not using GCC WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self \ - -Wmissing-include-dirs -Wtrampolines -Wfloat-equal \ + -Wmissing-include-dirs -Wtrampolines -Wfloat-equal -Wshadow \ -Wmissing-declarations -Wredundant-decls -Winline -Wno-variadic-macros \ -Weffc++ -Wc++11-compat -Wzero-as-null-pointer-constant -Wuseless-cast \ -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align -Wstrict-overflow \ @@ -78,7 +78,7 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self \ -Wsuggest-attribute=format -Wnormalized=nfkc -Wconversion \ -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp \ -fstack-usage -funsafe-loop-optimizations -# ignored: -Waggregate-return -Wshadow +# ignored: -Waggregate-return -- cgit v1.2.3-70-g09d2