> 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
>
> > > > > Could you post your converted source somewhere? It could be an
> issue
> > > with
> > > > > particular method prototype,
> > > > > for example for GetSize() correct C prototype would be:
> > > > >
> > > > > D2D1_SIZE_F * target_GetSize(ID2D1HwndRenderTarget *iface,
> > D2D1_SIZE_F
> > >
> > > Could you post your converted source somewhere? It could be an issue
> with
> > > particular method prototype,
> > > for example for GetSize() correct C prototype would be:
> > >
> > > D2D1_SIZE_F * target_GetSize(ID2D1HwndRenderTarget *iface, D2D1_SIZE_F
> > > *size)
> > >
> >
> > I've uploa
Em sáb., 23 de nov. de 2019 às 14:27, Nikolay Sivov
escreveu:
> On Sat, Nov 23, 2019 at 8:12 PM Arthur Girardi
> wrote:
>
> > > > I'm building the WIC Viewer using Direct2D[1] sample from Microsoft,
> > > > converted to C, and I'm g
> > I'm building the WIC Viewer using Direct2D[1] sample from Microsoft,
> > converted to C, and I'm getting some strange SIGSERV at the function
> > ID2D1HwndRenderTarget_GetSize(m_pRT) when the program is compiled with
> gcc
> > 9.x on a x86_64 system. No problem occurs when compiled with any gcc
Hello,
I'm building the WIC Viewer using Direct2D[1] sample from Microsoft,
converted to C, and I'm getting some strange SIGSERV at the function
ID2D1HwndRenderTarget_GetSize(m_pRT) when the program is compiled with gcc
9.x on a x86_64 system. No problem occurs when compiled with any gcc 8.x
x86_