build(d3d12_x): use the macro-safe min and max in the code added by #43 #45
No reviewers
Labels
No labels
accessibility
bug
ci
docs
documentation
duplicate
enhancement
fixes issue
good first issue
help wanted
invalid
library request
libs
needs rebase
question
relinker
stale
tools
unblocks title
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Dark3581--AnyBox!45
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/45/head"
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?
@Dark3581 on GitHub · 2026-11-22 20:49 UTC · original
Dark3581:fix/msvc-minmax→main· +4 −4 · 3 files · 1 commits · merged 2026-11-22 20:57 UTCWhat
Follow-up to #38. Code that landed after #38 was opened (#43) called
std::minandstd::maxafter<windows.h>, whose macros break them under MSVC. The four remaining bare calls (vulkan/PipelineCompiler.cpptwice,vulkan/DescriptorTable.cpp,tests/PsoProbe.cpp) now use the(std::min)(...)form #38 uses.DescriptorTable.cppdoes not see<windows.h>today; it is changed so the tree has no bare call left. No behaviour change.Tested
Windows 10, Ninja, Release, current
main(with #38 and #44):ab_gameinput.dll, whose link needsgameinput.lib, which this SDK does not ship (unrelated). CTest 61/61.python tools/check_conventions.py: ok.Checklist
main; no other open PR implements the same functionspython tools/check_conventions.pypasses (no comments in code, one declaration per export, Conventional Commit subjects)AbxNotImplemented/AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragmentdocs/dev/debt/changes/<branch>.md(none: build fix)