summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-12-12 21:53:41 -0500
committerSamuel Bronson <naesten@gmail.com>2013-12-12 21:53:41 -0500
commit2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3 (patch)
tree71ae14a41b5561a5e772ec1face6cc65a00756f5 /crawl-ref/source/Makefile
parentf72215e01c566abe4efc4fb2311c652dadf383c1 (diff)
downloadcrawl-ref-2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3.tar.gz
crawl-ref-2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3.zip
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.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile1
1 files changed, 1 insertions, 0 deletions
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)