summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-04-06 16:55:50 -0400
committerSamuel Bronson <naesten@gmail.com>2013-04-06 16:55:50 -0400
commitae9976d8119c532d90ef5a658dc9156f427854b6 (patch)
tree8fe07f28775b76897422042c7a573ee6878638dd /crawl-ref/source/Makefile
parentf8ddb2f9432efe416ac21645890b3720b5875ef9 (diff)
downloadcrawl-ref-ae9976d8119c532d90ef5a658dc9156f427854b6.tar.gz
crawl-ref-ae9976d8119c532d90ef5a658dc9156f427854b6.zip
Add -Wmissing-declarations to our default CFWARN flags.
This should help us spot unintentionally global functions, old unused functions, and .cc files where we forgot to #include the corresponding header.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index 898971c497..d1f244769c 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -120,7 +120,7 @@ CFOPTIMIZE := -O2
endif # USE_ICC
CFOTHERS := -pipe $(EXTERNAL_FLAGS)
-CFWARN := -Wall -Wformat-security
+CFWARN := -Wall -Wformat-security -Wmissing-declarations
CFWARN_L := -Wundef
DEFINES := $(EXTERNAL_DEFINES)