Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.mk
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if ${COMPILER_VERSION} >= 80000 | .if ${COMPILER_VERSION} >= 80000 | ||||
CWARNEXTRA+= -Wno-error=packed-not-aligned | CWARNEXTRA+= -Wno-error=packed-not-aligned | ||||
.endif | .endif | ||||
.if ${COMPILER_VERSION} >= 90100 | .if ${COMPILER_VERSION} >= 90100 | ||||
CWARNEXTRA+= -Wno-address-of-packed-member \ | CWARNEXTRA+= -Wno-address-of-packed-member \ | ||||
-Wno-error=alloca-larger-than= | -Wno-error=alloca-larger-than= | ||||
.if ${COMPILER_VERSION} >= 120100 | .if ${COMPILER_VERSION} >= 120100 | ||||
CWARNEXTRA+= -Wno-error=nonnull | CWARNEXTRA+= -Wno-error=nonnull \ | ||||
-Wno-dangling-pointer | |||||
.endif | .endif | ||||
.endif | .endif | ||||
# GCC produces false positives for functions that switch on an | # GCC produces false positives for functions that switch on an | ||||
# enum (GCC bug 87950) | # enum (GCC bug 87950) | ||||
CWARNFLAGS+= -Wno-return-type | CWARNFLAGS+= -Wno-return-type | ||||
.endif # gcc | .endif # gcc | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |