Add a GCC 8.1 warning flag.
This is required to build ATF. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
cc28ae0479
commit
c26e80e1f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336455
@ -158,6 +158,7 @@ CWARNFLAGS+= -Wno-error=bool-operation \
|
|||||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80100
|
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80100
|
||||||
CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \
|
CWARNFLAGS+= -Wno-error=aggressive-loop-optimizations \
|
||||||
-Wno-error=cast-function-type \
|
-Wno-error=cast-function-type \
|
||||||
|
-Wno-error=catch-value \
|
||||||
-Wno-error=multistatement-macros \
|
-Wno-error=multistatement-macros \
|
||||||
-Wno-error=restrict \
|
-Wno-error=restrict \
|
||||||
-Wno-error=sizeof-pointer-memaccess \
|
-Wno-error=sizeof-pointer-memaccess \
|
||||||
|
Loading…
Reference in New Issue
Block a user