aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-25 15:39:53 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-25 15:52:14 -0700
commitcc48812cb55e046a77ce1b4aad33566acc5fbd47 (patch)
tree4f66f6c647f0ae7ac5eec68732bc9b6706b3beaf /Makefile
parent067c547b236133cacbe7192b99bcd5487a08f7c8 (diff)
Add -Wextra and fix warnings.
When adding -Wextra we also add -Wno-ununsed-parameters since that function means well enough, but is really annoying in practice. So the warnings we fix here are basically all comparsions between signed and unsigned values.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5188e5d5..3a8cda90 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
PROGS=notmuch
-CXXWARNINGS_FLAGS=-Wall
-CWARNINGS_FLAGS=$(CXX_WARNINGS_FLAGS)
+CXXWARNINGS_FLAGS=-Wall -Wextra -Wno-unused-parameter
+CWARNINGS_FLAGS=$(CXXWARNINGS_FLAGS)
CDEPENDS_FLAGS=`pkg-config --cflags glib-2.0 talloc`
CXXDEPENDS_FLAGS=`pkg-config --cflags glib-2.0 talloc` `xapian-config --cxxflags`