Page MenuHomeFreeBSD

bsd.sys.mk: Re-enable -Wunused-but-set-variable for clang 13+.
ClosedPublic

Authored by jhb on Jun 20 2023, 4:34 PM.
Tags
None
Referenced Files
F156474122: D40674.id123549.diff
Wed, May 13, 10:23 PM
F156474093: D40674.id123919.diff
Wed, May 13, 10:23 PM
F156473214: D40674.diff
Wed, May 13, 10:16 PM
Unknown Object (File)
Tue, May 12, 8:02 PM
Unknown Object (File)
Thu, Apr 30, 1:04 PM
Unknown Object (File)
Thu, Apr 16, 5:46 AM
Unknown Object (File)
Thu, Apr 16, 5:34 AM
Unknown Object (File)
Apr 8 2026, 7:00 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jun 20 2023, 4:34 PM

I started on just trying to bring GCC up to par with clang (only disabling it for WARNS < 3) but accidentally had enabled it always for GCC when I got to the end, so I went ahead and just enabled it for clang as well and got make tinderbox working. The result is this stack/series (as well as about 20 commits or so I just pushed to main that were trivial enough to not warrant review IMO).

This revision is now accepted and ready to land.Jun 20 2023, 4:57 PM

Great, let's prevent more of these getting into the tree! :)