Repository navigation
fix: accept C11 flexible arrays in the MSVC oracle build - #1563
Merged
Merged
Conversation
Member
Author
|
Additional local validation: all 772 CI Python self-tests pass, and SOLDR_RUSTC_WRAPPER=none soldr cargo check -p obs-c-oracle --locked passes. The PR path skips Windows, so the existing full validation workflow was dispatched for native MSVC evidence: https://github.com/obs-rust/obs-studio/actions/runs/39498362355. Waiting for that result before landing. |
zackees
enabled auto-merge
October 20, 2026 21:12
This was referenced Oct 20, 2026
Closed
6 of 7 tasks
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 C oracle includes
obs-internal.h, whose C11 flexible array triggers MSVC C4200 under/W4 /WX. Suppress that diagnostic alongside the oracle's existing MSVC exceptions, retaining strict warnings and including the flag in its input hash.Fixes #1427.
Validation:
8645e79f0:uv run python -m unittest ci/test_oracle_msvc.pyfails because/wd4200is absent.f53a06a1d: that check plusci/test_registration.pypasses (6 tests).soldr cargo fmt --all --checkandgit diff --checkpass.The regression check covers build configuration; native MSVC compilation is pending PR CI. No C implementation, public headers, existing C tests, or runtime behavior changed. Port test tiers are not applicable to this compiler configuration fix.