From 81e1e3c10eed0d428189690ad89d501b79d68691 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 8 Oct 1996 22:10:49 +0000 Subject: Oops, forgot to cvs add bsd.kern.mk. Centralized the definition of CWARNFLAGS into bsd.kern.mk. --- share/mk/bsd.kern.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 share/mk/bsd.kern.mk (limited to 'share/mk/bsd.kern.mk') diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk new file mode 100644 index 0000000..0236123 --- /dev/null +++ b/share/mk/bsd.kern.mk @@ -0,0 +1,15 @@ +# $Id$ + +# +# Warning flags for compiling the kernel and components of the kernel. +# +CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ + -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ + -Winline -Wunused -Wpointer-arith -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. +# -- cgit v1.1