https://bugs.winehq.org/show_bug.cgi?id=56956
--- Comment #7 from cqwrteur euloanty@live.com --- (In reply to Liam Middlebrook from comment #4)
(In reply to Fabian Maurer from comment #1)
How do you get the cl.exe for testing?
It comes with Microsoft Visual Studio. I'm not sure if it's available as a separate command-line distribution. It looks like the following link may be for that but I'm not familiar with that, sorry: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio- 2022
(In reply to cqwrteur from comment #3)
Hi. I haven't checked what's causing regression for msvc.
Can you first use this with clang for cross compilation? My windows-msvc-sysroot project provides msvc libraries for clang to compile your code instead of msvc on linux.
No. I am not going to change my build toolchain due to a regression in Wine. I've locally reverted the regressing commit in my build so that my work is not blocked.
I am trying to trace what breaks. However, I suggest you not to use msvc any more. In fact, I would argue Microsoft should just give Visual C++ like they gave up EdgeHtml. https://github.com/cppfastio/fast_io/issues/770
clang is perfectly fine and better than msvc in every possible way and it works for cross compiling.