HomeFreeBSD

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

Description

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

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).

Reviewed by: emaste, jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D52535

(cherry picked from commit 86f325711c07b723b85c031d581d0a5c1a0964f3)

Details

Provenance
arichardsonAuthored on Dec 16 2025, 6:09 PM
dimCommitted on May 29 2026, 1:16 PM
Reviewer
emaste
Differential Revision
D52535: rtld: silence clang's unterminated-string-initialization warning
Parents
rG311576c11ca6: bsd.sys.mk: suppress some clang warnings for C++ for >= 19
Branches
Unknown
Tags
Unknown