Skip to content

graphics/microwindows: update version to suppress warning in mwin/winlib/windlg.c - #3892

Merged
jerpelea merged 1 commit into
apache:masterfrom
ppisa:mwin-windlg-warning-suppress
Oct 21, 2026
Merged

jerpelea merged 1 commit into
apache:masterfrom
ppisa:mwin-windlg-warning-suppress

Conversation

@ppisa

@ppisa ppisa commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Microwindows mainline version update to include Gregory Haerr added
suppression of the unaligned memory warning in complicated location
where MS Windows documentation states that the data fields have to
be aligned by resource generation tools but implementation should
accept unaligned data to support already existing binary applications.

Impact

Should allow to move forward final pieces integration from [GSoC 2026] Providing X11 Support Using NanoX

The warning is blocking

apache/nuttx#19912

Testing

nanoxterm and nanoxcalc under qemu-intel64.
The change between referenced Microwindows versions is only single
pragma to supress warning so I have not run much more testing for now.

@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 @ppisa :-)

Microwindows mainline version update to include Gregory Haerr added
suppression of the unaligned memory warning in the difficult situation
where MS Windows documentation states that the data fields have to
be aligned by resource generation tools but implementation should
accept unaligned data to support already existing binary applications.

As it is not expected to use original binaries in NuttX,
the fields and resources should obey alignment but structures
intended for construction of the resources have to be defined
as packed to allow correct stacking of extended dialog sections.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
@ppisa

ppisa commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

I have corrected the commit message length and added description but the build fails on something which I consider totally unrelated to the Microwindows HASH reference change.

@jerpelea
jerpelea merged commit a09fb84 into apache:master Oct 21, 2026
31 of 79 checks passed
@ppisa
ppisa deleted the mwin-windlg-warning-suppress branch October 21, 2026 16:30
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.

5 participants