Files
OrcaSlicer/tests/slic3rutils
Kris Austin 1478735b58 Give the PartPlate test the Windows headers it needs on clang-cl (#17773)
tests/slic3rutils/test_part_plate.cpp includes slic3r/GUI/PartPlate.hpp,
which reaches wx/wxprec.h and so needs the Windows headers first. Without
them clang-cl stops in wx/msw/private.h on WNDPROC, RGB, VK_SHIFT and
GetWindowRect, and the Windows arm64 build fails.

The slicer target has a precompiled header that supplies those headers and
the test target does not, and MSVC accepts the file anyway, so only the
arm64 build breaks. Windows arm64 is skipped on a pull request that has no
build-windows-arm64 label, so the test merged in #17664 without that leg
ever compiling it.

tests/slic3rutils/test_scene_raycaster.cpp is the only other test in this
target that pulls in the GUI headers, and it opens with the same prelude.
2026-11-21 13:42:02 -06:00
..