Tighten gcc warning options

Suppress only unused parameters, not all unused stuff.
This commit is contained in:
Markus Armbruster 2008-03-03 20:12:46 +01:00
parent 5a2e64ef1a
commit b3c5ba2f75

View file

@ -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)