Fix build: ignore a GCC 7.2.0 warning which says that third argument of
memset(3) should contain the number of elements multiplied by the element size. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
12f691959f
commit
8cd6c09e7e
@ -67,6 +67,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
|
|||||||
-Wno-error=shift-overflow \
|
-Wno-error=shift-overflow \
|
||||||
-Wno-error=tautological-compare
|
-Wno-error=tautological-compare
|
||||||
.endif
|
.endif
|
||||||
|
.if ${COMPILER_VERSION} >= 70200
|
||||||
|
CWARNEXTRA+= -Wno-error=memset-elt-size
|
||||||
|
.endif
|
||||||
.if ${COMPILER_VERSION} >= 80000
|
.if ${COMPILER_VERSION} >= 80000
|
||||||
CWARNEXTRA+= -Wno-error=packed-not-aligned
|
CWARNEXTRA+= -Wno-error=packed-not-aligned
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user