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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334619
@ -67,6 +67,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
|
||||
-Wno-error=shift-overflow \
|
||||
-Wno-error=tautological-compare
|
||||
.endif
|
||||
.if ${COMPILER_VERSION} >= 70200
|
||||
CWARNEXTRA+= -Wno-error=memset-elt-size
|
||||
.endif
|
||||
.if ${COMPILER_VERSION} >= 80000
|
||||
CWARNEXTRA+= -Wno-error=packed-not-aligned
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user