fix gcc8 compile

Approved by:	sbruno
This commit is contained in:
Matt Macy
2018-05-04 18:25:07 +00:00
parent 1b5c869d64
commit d39c265800
+3
View File
@@ -65,6 +65,9 @@ CWARNEXTRA+= -Wno-error=misleading-indentation \
-Wno-error=shift-overflow \
-Wno-error=tautological-compare
.endif
.if ${COMPILER_VERSION} >= 80000
CWARNEXTRA+= -Wno-error=packed-not-aligned
.endif
.else
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
CWARNEXTRA?= -Wno-uninitialized