Skip to content

Conversation

@lowrisc-ci
Copy link

@lowrisc-ci lowrisc-ci bot commented Oct 24, 2025

This is an automatic cherry-pick of #27562 to branch earlgrey_1.0.0.

Adds the `nonstring` attribute through a new `OT_NONSTRING` macro.
This is used to prevent warnings when compiling with Clang 21+ and an
array is initialized with a string literal but is sized not to
include the terminating null.

Signed-off-by: Luís Marques <[email protected]>
(cherry picked from commit c64f1fa)
@lowrisc-ci lowrisc-ci bot requested a review from a team as a code owner October 24, 2025 00:23
@lowrisc-ci lowrisc-ci bot requested review from timothytrippel and removed request for a team October 24, 2025 00:23
@luismarques luismarques requested a review from jwnrt October 25, 2025 15:03
Copy link
Contributor

@jwnrt jwnrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but are we planning to update the toolchain version on this branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants