[Bug 49138] winegcc: argc and argv arguments of main() get corrupted

WineHQ Bugzilla wine-bugs at winehq.org
Mon May 11 11:19:12 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49138

--- Comment #2 from Robbert van der Helm <mail at robbertvanderhelm.nl> ---
Adding an explicit calling convention does indeed solve the issue for both
yabridge and the example I posted here! I experimented a bit with the WinMain
entry point function before with no success but somehow I never though of
explicitly specifying the __cdecl calling convention on my regular main()
function. Did the default calling convention change somewhere between Wine 5.6
and Wine 5.7?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list