When building with a newer GCC, suppress some warnings for the
moment. The kernel isn't ready for them without a lot of work.
This commit is contained in:
parent
a697fd0e43
commit
4447a27145
@ -33,7 +33,13 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
|
||||
.endif
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300
|
||||
CWARNEXTRA?= -Wno-inline
|
||||
# Catch-all for all the things that are in our tree, but for which we're
|
||||
# not yet ready for this compiler. Note: we likely only really "support"
|
||||
# building with gcc 4.8 and newer. Nothing older has been tested.
|
||||
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=unused-local-typedefs -Wno-error=array-bounds -Wno-error=address \
|
||||
-Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes
|
||||
.endif
|
||||
|
||||
# External compilers may not support our format extensions. Allow them
|
||||
|
Loading…
Reference in New Issue
Block a user