From cc48812cb55e046a77ce1b4aad33566acc5fbd47 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 25 Oct 2009 15:39:53 -0700 Subject: 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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` -- cgit v1.2.3