diff options
author | bde <bde@FreeBSD.org> | 1996-10-08 22:10:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-08 22:10:49 +0000 |
commit | 81e1e3c10eed0d428189690ad89d501b79d68691 (patch) | |
tree | 3944ab2f2497c6d6397b465981b130ef2d2d10b1 | |
parent | fa51fcfcddd49120686066ecfeffeceac59814d5 (diff) | |
download | FreeBSD-src-81e1e3c10eed0d428189690ad89d501b79d68691.zip FreeBSD-src-81e1e3c10eed0d428189690ad89d501b79d68691.tar.gz |
Oops, forgot to cvs add bsd.kern.mk.
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
-rw-r--r-- | share/mk/bsd.kern.mk | 15 | ||||
-rw-r--r-- | sys/conf/kern.mk | 15 |
2 files changed, 30 insertions, 0 deletions
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. +# diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk new file mode 100644 index 0000000..0236123 --- /dev/null +++ b/sys/conf/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. +# |