From 14120392f06eb42607135dd708e110c5faec4a53 Mon Sep 17 00:00:00 2001 From: assar Date: Sun, 22 Jul 2001 00:12:23 +0000 Subject: revert previous accidental commit --- share/mk/bsd.kern.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share/mk') diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index ba78e3b..d81fd7c 100644 --- a/share/mk/bsd.kern.mk +++ b/share/mk/bsd.kern.mk @@ -3,8 +3,12 @@ # # Warning flags for compiling the kernel and components of the kernel. # +# 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 \ + -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -fformat-extensions -ansi # # The following flags are next up for working on: -- cgit v1.1