From de76830961c5693554bdb2eb9332143ace09d660 Mon Sep 17 00:00:00 2001 From: dillon Date: Fri, 29 Jan 1999 06:22:19 +0000 Subject: Cleanup bsd.kern.mk after last commit. --- share/mk/bsd.kern.mk | 18 ++++-------------- sys/conf/kern.mk | 18 ++++-------------- 2 files changed, 8 insertions(+), 28 deletions(-) diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index af02e59..4ae998a 100644 --- a/share/mk/bsd.kern.mk +++ b/share/mk/bsd.kern.mk @@ -1,26 +1,16 @@ -# $Id: bsd.kern.mk,v 1.12 1998/12/17 22:36:21 dfr Exp $ +# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon 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 -Wformat -Wunused \ -# -fformat-extensions -ansi +# Note that the newly added -Wcast-qual is responsible for generating +# most of the remaining warnings. Warnings introduced with -Wall +# will also pop up, but are easier to fix. CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -fformat-extensions -ansi - -# -# The following flags are next up for working on: -# -W ( note: -W may be included by -Wall ) -# -# When working on removing warnings from code, the `-Werror' flag should be -# of material assistance. -# - # # On the alpha, make sure that we don't use floating-point registers and # allow the use of EV56 instructions (only needed for low-level i/o). diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index af02e59..4ae998a 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -1,26 +1,16 @@ -# $Id: bsd.kern.mk,v 1.12 1998/12/17 22:36:21 dfr Exp $ +# $Id: bsd.kern.mk,v 1.13 1999/01/27 22:53:58 dillon 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 -Wformat -Wunused \ -# -fformat-extensions -ansi +# Note that the newly added -Wcast-qual is responsible for generating +# most of the remaining warnings. Warnings introduced with -Wall +# will also pop up, but are easier to fix. CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -fformat-extensions -ansi - -# -# The following flags are next up for working on: -# -W ( note: -W may be included by -Wall ) -# -# When working on removing warnings from code, the `-Werror' flag should be -# of material assistance. -# - # # On the alpha, make sure that we don't use floating-point registers and # allow the use of EV56 instructions (only needed for low-level i/o). -- cgit v1.1