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)
Jun 13 2026, 11:39 PM
Unknown Object (File)
Jun 11 2026, 8:09 PM
Unknown Object (File)
May 26 2026, 3:47 AM
Unknown Object (File)
May 25 2026, 1:23 PM
Unknown Object (File)
May 25 2026, 4:43 AM
Unknown Object (File)
May 21 2026, 3:05 PM
Unknown Object (File)
May 14 2026, 5:25 PM
Unknown Object (File)
May 13 2026, 5:52 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.