Skip to content

Fix gcc16 compile errors due to stricter warnings#9731

Merged
stsoe merged 1 commit intoXRT-2.21from
gcc16.patch
Apr 15, 2026
Merged

Fix gcc16 compile errors due to stricter warnings#9731
stsoe merged 1 commit intoXRT-2.21from
gcc16.patch

Conversation

@stsoe
Copy link
Copy Markdown
Collaborator

@stsoe stsoe commented Apr 14, 2026

How problem was solved, alternative solutions (if any) and why they were rejected

  • Two cases of -Warray-bounds bogus warnings, disable in TUs.
  • One case of -Wstringop-truncation marginally meaningful and fixed.
  • One case of -Wunused-but-set-variable correct and fixed.

- Two cases of `-Warray-bounds` bogus warnings, disable in TUs.
- One case of `-Wstringop-truncation` marginally meaningful and fixed.
- One case of `-Wunused-but-set-variable` correct and fixed.

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
stsoe added a commit to stsoe/XRT that referenced this pull request Apr 14, 2026
Pull in changes from Xilinx#9731

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
@stsoe stsoe mentioned this pull request Apr 14, 2026
@stsoe stsoe merged commit 43e329a into XRT-2.21 Apr 15, 2026
17 of 18 checks passed
@stsoe stsoe deleted the gcc16.patch branch April 15, 2026 14:08
stsoe added a commit that referenced this pull request Apr 15, 2026
* Fix gcc16 compile errors

Pull in changes from #9731

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>

* Add missing include (backport from salsa)

Apply cstring.patch

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>

---------

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
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.

1 participant