ci(battery_plus): fix Windows example build with newer MSVC - #3991
Merged
Merged
Conversation
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
force-pushed
the
battery_plus_windows_wm_size_fix
branch
from
September 29, 2026 10:52
ce38f19 to
50eb76f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
windows-latestimage now ships a newer MSVC that rejects the Flutter template'swin32_window.cpp:error C2360: initialization of 'rect' is skipped by 'case' label. Wrappingcase WM_SIZEin braces (as already done in the other examples) fixes it.🤖 Generated with Claude Code