build: fix MSVC compilation errors in startup tests #3262
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3262
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3260"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@KelboLive on GitHub · 2026-11-28 02:29 UTC · original
KelboLive:fix-msvc-test-compilation→main· +27 −19 · 9 files · 1 commits · merged 2026-11-28 02:42 UTCFixes three categories of MSVC compilation errors in startup test files:
fix: MSVC compilation errors in startup teststo build: fix MSVC compilation errors in startup tests@R0Y00 on GitHub · 2026-11-28 02:42 UTC · original · approved these changes
Reviewed
f693f30c68integrated on mainfdb6faaa(tree485040c35b). The diff only changes the fixtures: named texture-copy locations preserve the original values and lifetime, size casts are on bounded test buffers, and the vtable declarations retain read-only entries and the same ABI.With MSVC 19.51, a strict /permissive- /Zs check reproduced C2102 at the original texture-copy calls and passed after the change. This compiler accepted the old and new representative GameInput and rectangle sources; I could not reproduce those two reported build errors locally.
Debug and Release /O2 each had 25 passes and 1 skip. The GameInput syntax test passed its parser checks and skipped playback because XInput pad 0 was connected. The retiring-view debug0/debug1 cases passed on WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 on Windows 11 26200.9974. The required hosted Windows check passed.