|
From: Bastian M. <bma...@we...> - 2005-08-11 16:33:20
|
Ethan A Merritt wrote: > On Thursday 11 August 2005 09:06 am, Bastian Maerkisch wrote: >=20 >>While trying to compile gnuplot on Windows using MSVC 6.0 >>and the precompiled gdlib (gdwin32.zip package) I ran into >>problems concerning calling convention. The supplied >>bgd.dll now uses __stdcall whereas gnuplot uses __cdecl. >=20 >=20 > I can't help with any windows testing, but I do want to point > out that gdlib itself has changed the dll mechanism between > versions, perhaps more than once. More info on the web site=20 > <http://www.boutell.com/gd/> > So I worry that you risk breaking the use of one version > of libgd while 'fixing' another. According to that web site this is a "one-time breakage of binary compatibility" introduced in version 2.0.24. As there might still be older versions installed on a user's machine it is probably better to just link statically (or at least ship the latest version of bgd.dll with gnuplot). So please forget about that patch. It will just create another FAQ.... --=20 Bastian M=C3=A4rkisch Physikalisches Institut, Universit=C3=A4t Heidelberg |