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