diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-25 15:39:53 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-25 15:52:14 -0700 |
commit | cc48812cb55e046a77ce1b4aad33566acc5fbd47 (patch) | |
tree | 4f66f6c647f0ae7ac5eec68732bc9b6706b3beaf /Makefile | |
parent | 067c547b236133cacbe7192b99bcd5487a08f7c8 (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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` |