]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable errors for -Wredundant-decls for GCC 6+.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 4 Aug 2020 18:20:39 +0000 (18:20 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 2 Sep 2021 23:30:15 +0000 (01:30 +0200)
commitc7bb9802495a0c0b4efa2754c3257a783525a03d
tree2303c072adbbd04c1e540da7ea16996bac3e1261
parent8fce2bfdfc6f2d4f105e5e603369bf03b49670e7
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

(cherry picked from commit 0ea6e5109d681b55886f61822ec23a4404d3eac5)
share/mk/bsd.sys.mk