https://bugs.winehq.org/show_bug.cgi?id=48759
Bug ID: 48759 Summary: Apple clang 11.0.0 incorrectly compiles get_devmode in without-mingw build Product: Wine Version: 5.4 Hardware: x86-64 OS: Mac OS X Status: NEW Severity: normal Priority: P2 Component: wineps.drv Assignee: wine-bugs@winehq.org Reporter: piotr.caban@gmail.com Regression SHA1: 6887af4f2bf8a863889f7110e9be78bbfc4fa3f3
Apple clang 11.0.0 produces invalid 64-bit wineps.drv build. In dlls/wineps.drv/init.c: *dm = DefaultDevmode; assignment ends using memcpy.
Since it links to msvcrt the parameters are passed incorrectly causing a crash during prefix creation.