Tom Lane <[EMAIL PROTECTED]> writes: > "Magnus Hagander" <[EMAIL PROTECTED]> 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.
Well that sort of stuff is supposed to be covered by the ABI. Consider that if it didn't then you wouldn't be able to use any of the standard libraries without recompiling them for each compiler since a number of standard library APIs depend on structs like timeval or stat. I'm not saying there aren't risks, but in theory it's supposed to work. -- greg ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster