mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
272937b07f
Also disabled -Wunused. It caused too many warnings even for me. The sign mismatch warnings should be fixed first. They are more important and harder to disable (they are controlled by -W, which controls too many things).
16 lines
489 B
Makefile
16 lines
489 B
Makefile
# $Id: bsd.kern.mk,v 1.1 1996/10/08 22:10:49 bde Exp $
|
|
|
|
#
|
|
# 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 -Wpointer-arith # -Wunused -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.
|
|
#
|