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)
Wed, Mar 4, 9:38 PM
Unknown Object (File)
Sat, Feb 28, 5:10 PM
Unknown Object (File)
Wed, Feb 18, 3:13 PM
Unknown Object (File)
Wed, Feb 18, 3:13 PM
Unknown Object (File)
Wed, Feb 18, 3:13 PM
Unknown Object (File)
Tue, Feb 17, 10:35 AM
Unknown Object (File)
Sun, Feb 8, 2:43 PM
Unknown Object (File)
Sun, Feb 8, 5:20 AM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

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