o Add warn flags required to build modules with GCC 6.1;
o Sort GCC 4.8 warn flags. Sponsored by: DARPA, AFRL Sponsored by: HEIF5
This commit is contained in:
parent
8709930cfc
commit
96c072fcb0
@ -45,13 +45,23 @@ CLANG_NO_IAS34= -no-integrated-as
|
||||
.if ${COMPILER_VERSION} >= 40800
|
||||
# Catch-all for all the things that are in our tree, but for which we're
|
||||
# not yet ready for this compiler.
|
||||
CWARNEXTRA?= -Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable \
|
||||
-Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized \
|
||||
-Wno-error=array-bounds -Wno-error=address \
|
||||
-Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes \
|
||||
-Wno-error=strict-overflow -Wno-error=overflow
|
||||
CWARNEXTRA?= -Wno-error=address \
|
||||
-Wno-error=aggressive-loop-optimizations \
|
||||
-Wno-error=array-bounds \
|
||||
-Wno-error=attributes \
|
||||
-Wno-error=cast-qual \
|
||||
-Wno-error=enum-compare \
|
||||
-Wno-error=inline \
|
||||
-Wno-error=maybe-uninitialized \
|
||||
-Wno-error=overflow \
|
||||
-Wno-error=sequence-point \
|
||||
-Wno-error=strict-overflow \
|
||||
-Wno-error=unused-but-set-variable
|
||||
.if ${COMPILER_VERSION} >= 60100
|
||||
CWARNEXTRA+= -Wno-error=nonnull-compare -Wno-error=shift-overflow
|
||||
CWARNEXTRA+= -Wno-error=misleading-indentation \
|
||||
-Wno-error=nonnull-compare \
|
||||
-Wno-error=shift-overflow \
|
||||
-Wno-error=tautological-compare
|
||||
.endif
|
||||
.else
|
||||
# For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
|
||||
|
Loading…
Reference in New Issue
Block a user