mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
405b59bcb5
-current version of gcc. Without it, -Wformat would complain about all the nonstandard %[Dbrz] formats in the kernel.
16 lines
533 B
Makefile
16 lines
533 B
Makefile
# $Id: bsd.kern.mk,v 1.9 1998/05/01 18:13:37 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 -Wformat \
|
|
-fformat-extensions -ansi
|
|
#
|
|
# The following flags are next up for working on:
|
|
# -W -Wunused -Wcast-qual -Wall
|
|
#
|
|
# When working on removing warnings from code, the `-Werror' flag should be
|
|
# of material assistance.
|
|
#
|