Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/bsd.sys.mk
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-unused-value\ | CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-unused-value\ | ||||
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion | -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion | ||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600 | .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600 | ||||
CWARNFLAGS.clang+= -Wno-unused-local-typedef | CWARNFLAGS.clang+= -Wno-unused-local-typedef | ||||
.endif | .endif | ||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000 | .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000 | ||||
CWARNFLAGS.clang+= -Wno-address-of-packed-member | CWARNFLAGS.clang+= -Wno-address-of-packed-member | ||||
.endif | .endif | ||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 60000 | |||||
CWARNFLAGS.clang+= -Wno-error=tautological-constant-compare | |||||
.endif | |||||
.endif # WARNS <= 3 | .endif # WARNS <= 3 | ||||
.if ${WARNS} <= 2 | .if ${WARNS} <= 2 | ||||
CWARNFLAGS.clang+= -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter | CWARNFLAGS.clang+= -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter | ||||
.endif # WARNS <= 2 | .endif # WARNS <= 2 | ||||
.if ${WARNS} <= 1 | .if ${WARNS} <= 1 | ||||
CWARNFLAGS.clang+= -Wno-parentheses | CWARNFLAGS.clang+= -Wno-parentheses | ||||
.endif # WARNS <= 1 | .endif # WARNS <= 1 | ||||
.if defined(NO_WARRAY_BOUNDS) | .if defined(NO_WARRAY_BOUNDS) | ||||
▲ Show 20 Lines • Show All 270 Lines • Show Last 20 Lines |