From 2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3 Mon Sep 17 00:00:00 2001 From: Samuel Bronson Date: Thu, 12 Dec 2013 21:53:41 -0500 Subject: Start using -Wredundant-decls; fix all the instances I get That is, unless you count the ones in ncurses' headers, which I can't do anything except suppress. --- crawl-ref/source/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/Makefile') diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile index 251a490d86..8e3f52ba09 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -702,6 +702,7 @@ endif # TILES CFWARN_L += $(shell w=-Wno-array-bounds;echo|$(GXX) -E -x c++ - -Werror $$w >/dev/null 2>&1 && echo $$w) CFWARN_L += $(shell w=-Wno-format-zero-length;echo|$(GXX) -E -x c++ - -Werror $$w >/dev/null 2>&1 && echo $$w) CFWARN += $(shell w=-Wmissing-declarations;echo|$(GXX) -E -x c++ - -Werror $$w >/dev/null 2>&1 && echo $$w) +CFWARN += $(shell w=-Wredundant-decls;echo|$(GXX) -E -x c++ - -Werror $$w >/dev/null 2>&1 && echo $$w) CFWARN_L += -Wno-parentheses -Wno-unused-parameter -Wwrite-strings -Wshadow CFOTHERS_L = $(EXTERNAL_FLAGS_L) $(EXTRA_FLAGS) $(DEFINES) $(SDL_CFLAGS) -- cgit v1.2.3-54-g00ecf