Re: [Mingw-w64-public] ID2D1HwndRenderTarget_GetSize() SIGSERV with gcc 9.2

2019-11-24 Thread Liu Hao
在 2019/11/25 8:00, Arthur Girardi 写道: > And what could be said about the SIGSERV problem with gcc 9? That's > actually what I intended to report with the original post, but somehow it > branched into that old problem of GetSize() returning wrong data, if I > understood correctly. > > As returned

Re: [Mingw-w64-public] ID2D1HwndRenderTarget_GetSize() SIGSERV with gcc 9.2

2019-11-24 Thread Arthur Girardi
> So, yes, you are right, the mingw-w64 definitions are broken. I think > inline wrappers are necessary to work around the calling convention > problem. Patches are welcome. > And what could be said about the SIGSERV problem with gcc 9? That's actually what I intended to report with the original p

[Mingw-w64-public] [PATCH] crt/time.h: Move POSIX re-entrant functions into the `extern C` block.

2019-11-24 Thread Liu Hao
Signed-off-by: Liu Hao --- mingw-w64-headers/crt/time.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mingw-w64-headers/crt/time.h b/mingw-w64-headers/crt/time.h index 4019cb41..ad4d52d1 100644 --- a/mingw-w64-headers/crt/time.h +++ b/mingw-w64-headers/crt/time.h @@

Re: [Mingw-w64-public] ID2D1HwndRenderTarget_GetSize() SIGSERV with gcc 9.2

2019-11-24 Thread Liu Hao
在 2019/11/24 2:34, Nikolay Sivov 写道: > > Thanks, I think mingw headers are broken when in C mode. Like I said, vtbl > method prototype should be: > > D2D1_SIZE_F * (STDMETHODCALLTYPE *GetSize)( > ID2D1HwndRenderTarget *This, > D2D1_SIZE_F *__ret); > > In Wine we generate i