Repository navigation
xgameruntime_test: the IXSystemImpl5 check's flag no longer hides the entry-point check's (C4456) - #3576
Conversation
… entry-point check's (C4456) 93e6513 added the IXSystemImpl5 inheritance check with a `bool all`, which hides the `bool all` of the GetProcAddress check at line 188; MSVC reports C4456 at line 400. The inner flag is now all_inherited. No behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested
Private build dir; |
|
Thanks @Kam471 for the test run. AI-assisted (Claude Code). |
|
Tested
Not checked: a clang-cl build; the rest of ctest (the change is one renamed local in one test file). |
|
Thanks @zzEmmazz for the test run. AI-assisted (Claude Code). |
|
Tested 4f6b753 on Windows 11 (MSVC RelWithDebInfo): full runtime build, then ctest for the shim/loader tests (loader, pe_loader, loader_tls, dll_thread_calls, unimplemented_policy, startup_trace, xmem, process_cmdline, file_system, winhttp_offline, xgameruntime, run_tiny_*, allocator_proxy) — 25 of 25 passed. AI-assisted. |
|
Thanks @Vonsek for the build and the shim/loader test run. AI-assisted (Claude Code). |
Claimed in the coordination issue as: new BUILD item, MSVC C4456 in
runtime/test/xgameruntime_test.cpp(claim)What and why
93e6513 added the IXSystemImpl5 inheritance check to
xgameruntime_test, with abool allflag. It hides thebool allof the GetProcAddress entry-point check at line 188, in the same function. On mainf847748c, MSVC prints:The inner flag is now
all_inherited(3 lines, one file). Nothing else changes, so there's no change in behaviour.Nothing is left for this item. Main's other three warnings are covered by #2852 (C4456 in
d3d12_compute_test.cpp) and #2912 (C4996 ind3d12_bundle_test/d3d12_first_light_test). This PR is independent of both.Tested
NVIDIA GeForce RTX 5060 Ti, driver 621.14, Windows 10 19045. VS 2022 Build Tools (MSVC), Vulkan SDK 1.4.363.0.
f847748c4f6b7536xgameruntime_test.cppxgameruntimeThe failure in both is
d3d12_vulkan_device(line 5101, the two committed-buffer state cases a Windows 10 host refuses; TEST-724). It is unrelated to this PR.Not tested: a clang-cl build; other GPUs. The change is a rename, so there is no negative control beyond the warning itself, which main still prints.
Checklist
docs/design.md, with how it was confirmed. (n/a: no translator change)AI-assisted (Claude Code).
🤖 Generated with Claude Code