Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.mk
Show All 9 Lines | CWARNFLAGS?= -Wall -Wstrict-prototypes \ | ||||
${CWARNEXTRA} | ${CWARNEXTRA} | ||||
# | # | ||||
# The following flags are next up for working on: | # The following flags are next up for working on: | ||||
# -Wextra | # -Wextra | ||||
# Disable a few warnings for clang, since there are several places in the | # Disable a few warnings for clang, since there are several places in the | ||||
# kernel where fixing them is more trouble than it is worth, or where there is | # kernel where fixing them is more trouble than it is worth, or where there is | ||||
# a false positive. | # a false positive. | ||||
# | |||||
kib: Stray change | |||||
.if ${COMPILER_TYPE} == "clang" | .if ${COMPILER_TYPE} == "clang" | ||||
NO_WCONSTANT_CONVERSION= -Wno-error=constant-conversion | NO_WCONSTANT_CONVERSION= -Wno-error=constant-conversion | ||||
NO_WSHIFT_COUNT_NEGATIVE= -Wno-shift-count-negative | NO_WSHIFT_COUNT_NEGATIVE= -Wno-shift-count-negative | ||||
NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow | NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow | ||||
NO_WSELF_ASSIGN= -Wno-self-assign | NO_WSELF_ASSIGN= -Wno-self-assign | ||||
NO_WUNNEEDED_INTERNAL_DECL= -Wno-error=unneeded-internal-declaration | NO_WUNNEEDED_INTERNAL_DECL= -Wno-error=unneeded-internal-declaration | ||||
NO_WSOMETIMES_UNINITIALIZED= -Wno-error=sometimes-uninitialized | NO_WSOMETIMES_UNINITIALIZED= -Wno-error=sometimes-uninitialized | ||||
NO_WCAST_QUAL= -Wno-error=cast-qual | NO_WCAST_QUAL= -Wno-error=cast-qual | ||||
▲ Show 20 Lines • Show All 307 Lines • Show Last 20 Lines |
Stray change