https://bugs.winehq.org/show_bug.cgi?id=53912
--- Comment #16 from Robbert van der Helm mail@robbertvanderhelm.nl --- I grabbed the wine-git AUR package and replaced my system Wine with a build from commit g17e5ff74308. Using that Wine toolchain the hello world program compiles and runs as expected again. I also compiled both yabridge 5.0.0 (from before I added any workarounds for Wine 7.21/7.22, and with the unity builds I had to disable later enabled) and yabridge 5.0.2 (with all the workarounds in place).
Interestingly the 5.0.0 version without any workarounds also runs under Wine 7.21 and 7.22. I tested the binaries with Wine versions as far back as 5.10 and they also seem to work fine, so that's great. I'll revert the changes in a new release and publish updated builds built with Wine 8.0-rc2 once that gets released. Hopefully these mandatory rebuilds with specific Wine versions won't cause distro packagers too much trouble heh.