diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-08-04 18:20:39 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-08-04 18:20:39 +0000 |
commit | 0ea6e5109d681b55886f61822ec23a4404d3eac5 (patch) | |
tree | 43fca819ef7ca801e28923a614512d49a23cef8a /share/mk/bsd.sys.mk | |
parent | a02fb76280fd663aa46843423002d605a7bd0796 (diff) | |
download | src-0ea6e5109d681b55886f61822ec23a4404d3eac5.tar.gz src-0ea6e5109d681b55886f61822ec23a4404d3eac5.zip |
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
Notes
Notes:
svn path=/head/; revision=363847
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 2f2bbe578f30..afa374f68bca 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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 |