From: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> msvcirt's PARENTSRC imports exception.c from msvcp90, but it uses a function pointer for these functions, resulting in a type mismatch. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/msvcp90/msvcp90.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/msvcp90/msvcp90.h b/dlls/msvcp90/msvcp90.h index 3b97cfefd4b..70b2a1ac542 100644 --- a/dlls/msvcp90/msvcp90.h +++ b/dlls/msvcp90/msvcp90.h @@ -37,8 +37,13 @@ void __cdecl _invalid_parameter_noinfo(void); BOOL __cdecl __uncaught_exception(void); int __cdecl _callnewh(size_t); +#ifdef _MSVCIRT +extern void* (__cdecl *operator_new)(SIZE_T); +extern void (__cdecl *operator_delete)(void*); +#else void* __cdecl operator_new(size_t); void __cdecl operator_delete(void*); +#endif extern void* (__cdecl *MSVCRT_set_new_handler)(void*); #if _MSVCP_VER >= 110 -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4864