https://bugs.winehq.org/show_bug.cgi?id=56956
--- Comment #6 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.
The abi before the commit was just broken. UCRT abi in the microsoft's toolchain and windows is different from the ABI in UCRT. If you pass a FILE* from the static linked program into DLL, it would just crash.