diff options
author | Samuel Bronson <naesten@gmail.com> | 2013-04-06 16:55:50 -0400 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2013-04-06 16:55:50 -0400 |
commit | ae9976d8119c532d90ef5a658dc9156f427854b6 (patch) | |
tree | 8fe07f28775b76897422042c7a573ee6878638dd /crawl-ref/source/Makefile | |
parent | f8ddb2f9432efe416ac21645890b3720b5875ef9 (diff) | |
download | crawl-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/Makefile | 2 |
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) |