Add a GCC 8.1 warning flag.

This is required to build ATF.

Sponsored by:	DARPA, AFRL
This commit is contained in:
br 2018-07-18 11:31:15 +00:00
parent 19d66463c0
commit 45f5853f03

View File

@ -158,6 +158,7 @@ CWARNFLAGS+= -Wno-error=bool-operation \
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80100
CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \
-Wno-error=cast-function-type \
-Wno-error=catch-value \
-Wno-error=multistatement-macros \
-Wno-error=restrict \
-Wno-error=sizeof-pointer-memaccess \