Skip to content

Fix MSVC build errors#10

Open
mixiate wants to merge 1 commit intoX123M3-256:masterfrom
mixiate:fix-msvc-build-errors
Open

Fix MSVC build errors#10
mixiate wants to merge 1 commit intoX123M3-256:masterfrom
mixiate:fix-msvc-build-errors

Conversation

@mixiate
Copy link
Contributor

@mixiate mixiate commented Oct 6, 2025

This fixes a couple of issues when using MSVC on windows.

Removes the statically linked standard library due to crashes in libpng.
It adds the /Zc:enumTypes flag so that enums are automatically sized to their largest member. Needed for enum flags over 32 bits.
Reformats a couple of pragma warnings causing a build error to be on separate lines.
Moves a function call out of an assert so that it doesn't get skipped if asserts are off.

@mixiate mixiate force-pushed the fix-msvc-build-errors branch from 7b4027a to 31db933 Compare October 13, 2025 21:43
@mixiate mixiate force-pushed the fix-msvc-build-errors branch from 203e82d to bf4263a Compare February 23, 2026 11:45
@mixiate mixiate changed the base branch from mask_refactor to master February 23, 2026 11:45
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