Skip to content

dp_rte_flow_helpers: Explicit array initialization#780

Draft
mkalcok wants to merge 1 commit into
mainfrom
explicit-array-init
Draft

dp_rte_flow_helpers: Explicit array initialization#780
mkalcok wants to merge 1 commit into
mainfrom
explicit-array-init

Conversation

@mkalcok

@mkalcok mkalcok commented Jun 10, 2026

Copy link
Copy Markdown

GCC 15 introduces 'unterminated-string-initialization'[0] warning and since we treat warning as errors in our builds, we might as well get ahead of the issue and change from string literals to explicit array initialization.

[0] https://gcc.gnu.org/cgit/gcc/commit/?id=44c9403ed1833ae71a59e84f9e37af3182be0df5

Proposed Changes

  • Use explicit byte array initialization instead of string literals.

GCC 15 introduces 'unterminated-string-initialization'[0] warning and since
we treat warning as errors in our builds, we might as well get ahead of
the issue and change from string literals to explicit array
initialization.

[0] https://gcc.gnu.org/cgit/gcc/commit/?id=44c9403ed1833ae71a59e84f9e37af3182be0df5

Signed-off-by: Martin Kalcok <martin.kalcok@sap.com>
@PlagueCZ

Copy link
Copy Markdown
Contributor

Makes sense.

But needs to be tested to be 100% sure, because this is offloading related and thus test suite is not able to test this.

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

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants