21 Apr
2023
21 Apr
'23
6:37 a.m.
Since gcc defaults to cdecl, we use -mabi=ms on x86_64, and I think ARM has an identical ABI across machines, I think we just want to omit the decorations, rather than explicitly writing \__cdecl?
No, we want explicit decorations on all functions. There's no guarantee that the Unix default is compatible with the Windows one across all platforms and architectures. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2672#note_30817