Re: [xml] windows binary with different calling conventions



Peter Jacobi wrote:
Dear Gustav, Igor, All,

Isn't this a problem, inherently caused by the distribution of a Win32 binary DLL?

Without distributing the binary, everybody adds libxml to his project, and compiles with his favourite flags and it will work.

So, by the gracious act of sponsoring a Win32 binary, Igor got all these complaints of MT/ST and stdcall/cdecl.

So, a not completely tongue-in-cheek solution, is to stop the distribution of the Win32 binary DLL.

Another solution would be (at least) four Win32 DDLs for each version.

Even then people would choose the wrong one per default. :-)

The option to include libxml source in an own project and compile with own defaults is not restricted by the binary distribution in any way. Anyone can still do it.

In this case, a change to the header files was requested, not a differently compiled binary. If my web logs are any measure, the libxml, libxslt, xmlsec and other binaries are being downloaded many times each day. Requests for a radical change are rare. There is enough folk out there who is happy with these binaries the way they are.

Ciao,
Igor




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]