Skip to content

ci(battery_plus): fix Windows example build with newer MSVC - #3991

Merged
vbuberen merged 1 commit into
mainfrom
battery_plus_windows_wm_size_fix
Sep 29, 2026
Merged

vbuberen merged 1 commit into
mainfrom
battery_plus_windows_wm_size_fix

Conversation

@vbuberen

Copy link
Copy Markdown
Collaborator

The windows-latest image now ships a newer MSVC that rejects the Flutter template's win32_window.cpp: error C2360: initialization of 'rect' is skipped by 'case' label. Wrapping case WM_SIZE in braces (as already done in the other examples) fixes it.

🤖 Generated with Claude Code

Wrap case WM_SIZE in braces so 'rect' initialization is not skipped by
the following case label (error C2360).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vbuberen
vbuberen force-pushed the battery_plus_windows_wm_size_fix branch from ce38f19 to 50eb76f Compare September 29, 2026 10:52
@vbuberen
vbuberen merged commit 7a607a7 into main Sep 29, 2026
20 of 21 checks passed
@vbuberen
vbuberen deleted the battery_plus_windows_wm_size_fix branch September 29, 2026 10:59
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