Disable the new -Waddress-of-packed-member warning for WARNS <= 1.
This commit is contained in:
parent
53fe1d28fa
commit
a45fc83cc5
@ -84,6 +84,9 @@ CWARNFLAGS.clang+= -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
|
||||
.endif # WARNS <= 2
|
||||
.if ${WARNS} <= 1
|
||||
CWARNFLAGS.clang+= -Wno-parentheses
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 40000
|
||||
CWARNFLAGS.clang+= -Wno-address-of-packed-member
|
||||
.endif
|
||||
.endif # WARNS <= 1
|
||||
.if defined(NO_WARRAY_BOUNDS)
|
||||
CWARNFLAGS.clang+= -Wno-array-bounds
|
||||
|
Loading…
x
Reference in New Issue
Block a user