Page MenuHomeFreeBSD

Enable -Warray-parameter for clang.
ClosedPublic

Authored by jhb on Apr 1 2023, 12:00 AM.
Tags
None
Referenced Files
F115852517: D39378.diff
Tue, Apr 29, 1:58 PM
Unknown Object (File)
Sat, Apr 19, 2:12 PM
Unknown Object (File)
Thu, Apr 17, 9:22 PM
Unknown Object (File)
Sat, Apr 12, 8:42 AM
Unknown Object (File)
Wed, Apr 2, 10:48 PM
Unknown Object (File)
Mar 23 2025, 2:18 AM
Unknown Object (File)
Feb 27 2025, 5:13 PM
Unknown Object (File)
Feb 25 2025, 1:10 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 50711
Build 47602: arc lint + arc unit

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.