Move -Wunused-parameter from WARNS level 3 level 4.

Also break long lines -- note that the '\' must be up against the last
character of a line to keep command-line spacing proper.

Requested by:	rwatson
This commit is contained in:
David E. O'Brien 2005-01-16 21:18:16 +00:00
parent 7bf38aeae7
commit 8d918dbd49

View File

@ -20,10 +20,12 @@ CWARNFLAGS += -Werror
CWARNFLAGS += -Wall -Wno-format-y2k
. endif
. if ${WARNS} >= 3
CWARNFLAGS += -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CWARNFLAGS += -W -Wno-unused-parameter -Wstrict-prototypes\
-Wmissing-prototypes -Wpointer-arith
. endif
. if ${WARNS} >= 4
CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch\
-Wshadow -Wcast-align -Wunused-parameter
. endif
# BDECFLAGS
. if ${WARNS} >= 6