Turn off errors for -Wmaybe-uninitialized in GCC 6+.
Recent changes to <sys/tree.h> trigger this warning and seem like a false positive. Differential Revision: https://reviews.freebsd.org/D25726
This commit is contained in:
parent
dfb4ecb38b
commit
a02fb76280
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363846
@ -150,7 +150,8 @@ CWARNFLAGS+= -Wno-error=address \
|
|||||||
|
|
||||||
# GCC 6.1.0
|
# GCC 6.1.0
|
||||||
.if ${COMPILER_VERSION} >= 60100
|
.if ${COMPILER_VERSION} >= 60100
|
||||||
CWARNFLAGS+= -Wno-error=nonnull-compare \
|
CWARNFLAGS+= -Wno-error=maybe-uninitialized \
|
||||||
|
-Wno-error=nonnull-compare \
|
||||||
-Wno-error=shift-negative-value \
|
-Wno-error=shift-negative-value \
|
||||||
-Wno-error=tautological-compare \
|
-Wno-error=tautological-compare \
|
||||||
-Wno-error=unused-const-variable
|
-Wno-error=unused-const-variable
|
||||||
|
Loading…
Reference in New Issue
Block a user