]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile
Add -Wmising-declarations and fix warnings.
[notmuch] / Makefile
index 6e3ab26d3b8bc069c41ea85341d448be89d4b4fc..894874ae6f2d3502a5f7eaaf3424e3511e83ba05 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PROGS=notmuch
 
-CXXWARNINGS_FLAGS=-Wall -Wextra
+CXXWARNINGS_FLAGS=-Wall -Wextra -Wmissing-declarations -Wwrite-strings
 CWARNINGS_FLAGS=$(CXXWARNINGS_FLAGS)
 
 CDEPENDS_FLAGS=`pkg-config --cflags glib-2.0 talloc`