Hi everyone, Thanks for the feedback. The reason for building extensions with MSVC on windows is to get access to the Micrsoft debugging tools since as far as I can see MingW/GDB cannot debug dynamically loaded dlls on the Windows platform (or at least I haven't succeeded at doing it). Anyway, with the few minor tweaks mentioned this seems to work fine. I guess I would be surprised if it didn't since MinGW is commonly used for both creating and using DLLs on the Windows platform that integrate with programs and dlls built with VC++. Other examples that work fine are building extensions for Python and Ruby using MingW, when both runtimes are built with VC++ (so the opposite case). Of course, this compatibility might just be limited to the MinGW / VC++ combination, but that's all you need for this to work. Charlie Tom Lane wrote: "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.regards, tom lane |
smime.p7s
Description: S/MIME Cryptographic Signature