"Magnus Hagander" <mha@sollentuna.net> writes:
> The problem here is that the backend is built with mingw but the
> extension with msvc.
I don't think that it's very reasonable to expect that to work.
The two compilers very likely have different rules for struct
packing, to take just the first gotcha. Maybe they are compatible
enough that it will work, but if it does not we cannot fix it.
regards, tom lane