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
F162630848: D52535.diff
Wed, Jul 15, 6:44 AM
F162630847: D52535.diff
Wed, Jul 15, 6:44 AM
Unknown Object (File)
Fri, Jul 10, 2:50 PM
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
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