6e47de28bb
variables were lost when we removed -W, and 23 new ones including at least one serious one have crept in for LINT. Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new for LINT.
17 lines
511 B
Makefile
17 lines
511 B
Makefile
# $Id: bsd.kern.mk,v 1.5 1997/02/22 13:56:10 peter Exp $
|
|
|
|
#
|
|
# Warning flags for compiling the kernel and components of the kernel.
|
|
#
|
|
CWARNFLAGS?= -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
|
|
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
|
|
-Wpointer-arith -Winline -Wuninitialized # -W -Wunused \
|
|
-Wcast-qual
|
|
#
|
|
# The following flags are next up for working on:
|
|
# -Wformat -Wall
|
|
#
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
# of material assistance.
|
|
#
|