]> git.pond.sub.org Git - empserver/commitdiff
Tighten gcc warning options
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 3 Mar 2008 19:12:46 +0000 (20:12 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:38 +0000 (20:25 +0100)
Suppress only unused parameters, not all unused stuff.

Make.mk

diff --git a/Make.mk b/Make.mk
index 0acf0bafadbe60f26232ad17f14144531d2793c3..5a97d3f33bf3cd4b49f5ba99285e9bad7379aac0 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -154,8 +154,9 @@ endif
 ifeq ($(have_gcc),yes)
 CFLAGS += -fno-builtin-carg    # conflicts with our carg()
 CFLAGS += -fno-common
-CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes     \
--Wmissing-prototypes -Wnested-externs -Wredundant-decls
+CFLAGS += -Wall -W -Wno-unused-parameter -Wpointer-arith       \
+-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs      \
+-Wredundant-decls
 endif
 LDLIBS += -lm
 $(client): LDLIBS += $(termlibs)