mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
16 lines
503 B
Makefile
16 lines
503 B
Makefile
# $Id: bsd.kern.mk,v 1.7 1997/10/21 10:36:07 bde 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
|
|
#
|
|
# The following flags are next up for working on:
|
|
# -W -Wunused -Wcast-qual -Wformat -Wall
|
|
#
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
# of material assistance.
|
|
#
|