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)
Wed, Apr 2, 10:48 PM
Unknown Object (File)
Sun, Mar 23, 2:18 AM
Unknown Object (File)
Feb 27 2025, 5:13 PM
Unknown Object (File)
Feb 25 2025, 1:10 AM
Unknown Object (File)
Feb 20 2025, 1:16 AM
Unknown Object (File)
Feb 19 2025, 3:46 AM
Unknown Object (File)
Feb 14 2025, 4:07 PM
Unknown Object (File)
Feb 13 2025, 9:25 AM
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.