Page MenuHomeFreeBSD

Enable -Warray-parameter for clang.
ClosedPublic

Authored by jhb on Apr 1 2023, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 26, 3:47 AM
Unknown Object (File)
Mon, May 25, 1:23 PM
Unknown Object (File)
Mon, May 25, 4:43 AM
Unknown Object (File)
Thu, May 21, 3:05 PM
Unknown Object (File)
Thu, May 14, 5:25 PM
Unknown Object (File)
Wed, May 13, 5:52 PM
Unknown Object (File)
Wed, May 13, 5:36 PM
Unknown Object (File)
Apr 7 2026, 8:20 PM
Subscribers

Details

Summary

I fixed many of these previously for GCC 12 and make tinderbox passes
with this enabled.

Diff Detail

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

Event Timeline

jhb requested review of this revision.Apr 1 2023, 12:00 AM
sys/conf/kern.mk
55

BTW, weird that bsd.sys.mk disables this for clang 13, and disables some other warning (unused-but-set-parameter) for clang 15 that isn't muted here.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 11 2023, 8:49 PM
This revision was automatically updated to reflect the committed changes.