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)
Jan 14 2024, 6:43 AM
Unknown Object (File)
Dec 23 2023, 12:57 AM
Unknown Object (File)
Nov 29 2023, 3:06 AM
Unknown Object (File)
Nov 22 2023, 11:28 PM
Unknown Object (File)
Nov 13 2023, 12:16 PM
Unknown Object (File)
Nov 13 2023, 11:51 AM
Unknown Object (File)
May 19 2023, 1:25 AM
Unknown Object (File)
Apr 6 2023, 10:16 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.