svn commit: r363847 - head/share/mk
John Baldwin
jhb at FreeBSD.org
Tue Aug 4 18:20:40 UTC 2020
Author: jhb
Date: Tue Aug 4 18:20:39 2020
New Revision: 363847
URL: https://svnweb.freebsd.org/changeset/base/363847
Log:
Disable errors for -Wredundant-decls for GCC 6+.
GCC triggers warnings for this that clang does not for duplicate
declarations of yylex().
Differential Revision: https://reviews.freebsd.org/D25727
Modified:
head/share/mk/bsd.sys.mk
Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk Tue Aug 4 18:19:29 2020 (r363846)
+++ head/share/mk/bsd.sys.mk Tue Aug 4 18:20:39 2020 (r363847)
@@ -152,6 +152,7 @@ CWARNFLAGS+= -Wno-error=address \
.if ${COMPILER_VERSION} >= 60100
CWARNFLAGS+= -Wno-error=maybe-uninitialized \
-Wno-error=nonnull-compare \
+ -Wno-error=redundant-decls \
-Wno-error=shift-negative-value \
-Wno-error=tautological-compare \
-Wno-error=unused-const-variable
More information about the svn-src-all
mailing list