aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-08-04 18:19:29 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-08-04 18:19:29 +0000
commita02fb76280fd663aa46843423002d605a7bd0796 (patch)
tree345d2aba7dbe6a931757bd6328bd2ebbd5ce6af1 /share
parentdfb4ecb38b8d9e24667f3c0c7fbb8e5b97186613 (diff)
downloadsrc-a02fb76280fd663aa46843423002d605a7bd0796.tar.gz
src-a02fb76280fd663aa46843423002d605a7bd0796.zip
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
Notes
Notes: svn path=/head/; revision=363846
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.sys.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 9f96b74dff76..2f2bbe578f30 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -150,7 +150,8 @@ CWARNFLAGS+= -Wno-error=address \
# GCC 6.1.0
.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=tautological-compare \
-Wno-error=unused-const-variable