From b3c5ba2f758440c9033110c68f5f1c53f0974e84 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 3 Mar 2008 20:12:46 +0100 Subject: [PATCH] Tighten gcc warning options Suppress only unused parameters, not all unused stuff. --- Make.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Make.mk b/Make.mk index 0acf0baf..5a97d3f3 100644 --- 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)