Page MenuHomeFreeBSD

rtld: silence clang's unterminated-string-initialization warning
ClosedPublic

Authored by arichardson on Sep 14 2025, 11:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 2:43 PM
Unknown Object (File)
Sun, Feb 8, 5:20 AM
Unknown Object (File)
Sun, Feb 8, 4:28 AM
Unknown Object (File)
Sat, Feb 7, 8:02 PM
Unknown Object (File)
Sat, Jan 31, 9:31 AM
Unknown Object (File)
Nov 25 2025, 11:56 AM
Unknown Object (File)
Nov 25 2025, 4:56 AM
Unknown Object (File)
Nov 23 2025, 5:02 PM
Subscribers

Details

Summary

Since the initializer is used in other places where we can't just
replace it with a char-by-char initializer, this adds a macro for the
nonstring attribute (match the linuxkpi definition).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 67066
Build 63949: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 16 2025, 1:56 PM