Skip to content

fix(libsimu): move Menu wrapper methods to fix Windows build#7015

Merged
pfeerick merged 1 commit intomainfrom
pfeerick/fix-cpn-dllexport
Jan 23, 2026
Merged

fix(libsimu): move Menu wrapper methods to fix Windows build#7015
pfeerick merged 1 commit intomainfrom
pfeerick/fix-cpn-dllexport

Conversation

@pfeerick
Copy link
Member

@pfeerick pfeerick commented Jan 22, 2026

Fixes compile error/failure when building libsim on Windows due to being broken by #6989 changes whereby inline wrapper methods were calling the non-inline methods across compilation unit boundaries on Windows.

Moving the inline wrapper method implementations for addLine() and
addLineBuffered() from the header to menu.cpp resolves linker errors
on Windows that appeared after PR #6989 moved other method
implementations out of the header.
@pfeerick pfeerick force-pushed the pfeerick/fix-cpn-dllexport branch from 85eb43d to 7125e04 Compare January 22, 2026 04:31
@pfeerick pfeerick changed the title fix(libsim): linker error on MSVC++ fix(libsimu): move Menu wrapper methods to .cpp to fix Windows build Jan 22, 2026
@pfeerick pfeerick changed the title fix(libsimu): move Menu wrapper methods to .cpp to fix Windows build fix(libsimu): move Menu wrapper methods to fix Windows build Jan 22, 2026
@pfeerick pfeerick added this to the 3.0 milestone Jan 22, 2026
@pfeerick pfeerick marked this pull request as ready for review January 22, 2026 07:22
@pfeerick
Copy link
Member Author

Both the latest (manually triggered) Linux and Windows Companion workflows successfully completed.

@pfeerick pfeerick merged commit fbf9660 into main Jan 23, 2026
49 checks passed
@pfeerick pfeerick deleted the pfeerick/fix-cpn-dllexport branch January 23, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug/regression ↩️ A new version of EdgeTX broke something compilation Related to compiling the firmware and firmware options simulator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant