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)
Thu, Jun 25, 7:05 AM
Unknown Object (File)
Sun, Jun 21, 10:07 PM
Unknown Object (File)
Fri, Jun 19, 10:46 PM
Unknown Object (File)
Tue, Jun 16, 12:51 PM
Unknown Object (File)
Jun 4 2026, 6:29 PM
Unknown Object (File)
May 15 2026, 1:34 PM
Unknown Object (File)
May 15 2026, 10:50 AM
Unknown Object (File)
May 14 2026, 10:50 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 67064
Build 63947: arc lint + arc unit

Event Timeline

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