Skip to content

games/NXDoom: Fix build warnings#3577

Merged
acassis merged 1 commit into
apache:masterfrom
linguini1:nxdoom-warnins
Jul 2, 2026
Merged

games/NXDoom: Fix build warnings#3577
acassis merged 1 commit into
apache:masterfrom
linguini1:nxdoom-warnins

Conversation

@linguini1

Copy link
Copy Markdown
Contributor

Summary

This commit resolves all of the build warnings that were preventing NXDoom from compiling in CI runs.

Fixes the issues in apache/nuttx#19239.

Impact

NXDoom can build in CI! Only this application is affected.

Removes packed struct optimization from state lookup table and extends a few
buffers used by snprintf.

Testing

Ran CI build manually to verify pass: https://github.com/linguini1/manual-nuttx-ci/actions/runs/28522157686/job/84549082064

Also re-ran DOOM on sim:nxdoom and it works.

This commit resolves all of the build warnings that were preventing
NXDoom from compiling in CI runs.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>

@cederom cederom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @linguini1 :-)

Comment thread games/NXDoom/src/doom/am_map.c
@linguini1 linguini1 requested a review from xiaoxiang781216 July 1, 2026 15:13
@acassis

acassis commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@linguini1 please rebase to fix this error:

Configuration/Tool: stm32l0538-disco/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2026-07-01 16:32:29
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Building NuttX...
arm-none-eabi-ld: /github/workspace/sources/nuttx/nuttx section `.data' will not fit in region `flash'
arm-none-eabi-ld: region `flash' overflowed by 20 bytes
make[1]: *** [Makefile:230: nuttx] Error 1
make: *** [tools/Unix.mk:569: nuttx] Error 2
make: Target 'all' not remade because of errors.
``

@cederom

cederom commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

CI Linux Arm14 failed, also in other PR, not restarting here as it seems random failure, lets see the other PRs first to save CI resrources :-)

/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found

@acassis acassis merged commit c91abf2 into apache:master Jul 2, 2026
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants