|
From: Hans-Bernhard B. <br...@ph...> - 2005-08-11 19:30:56
|
Bastian Maerkisch wrote: > Ethan A Merritt wrote: >> On Thursday 11 August 2005 09:06 am, Bastian Maerkisch wrote: >>> 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. If so, then there has to be some macro or typedef exported by the GD headers that tells us what exactly the type of the callback functions has to be. If not, that's a bug in GD which we should report, instead of hacking around it. > it is probably better to just link statically (or at least > ship the latest version of bgd.dll with gnuplot). That would go right against some strict advice Mr. Boutell gave about using his library on Windows, last time I looked. He rather strongly discourages anybody trying to build their own GD from sources on Windows. |