> Cc: Juanma Barranquero <[EMAIL PROTECTED]>, emacs-devel@gnu.org > From: [EMAIL PROTECTED] (Kim F. Storm) > Date: Fri, 20 May 2005 10:24:55 +0200 > > Could it be that the following define need to specify "Pascal" somewhere > for the tiff library? > > #define DEF_IMGLIB_FN(func) FARPROC fn_##func
I think it should be something else. First, from Juanma's investigations it looks like MSVC already thinks those functions use the Pascal ABI. Second, the MinGW compiler does produce correct code, so the fix should be only for MSVC (perhaps some preprocessor macro works for GCC, but not MSVC). And third, I think the right qualifiers are __stdcall vs __cdecl, not "Pascal". I asked to see the relevant fragments from libtiff headers used during the compilation so that we could figure out what goes wrong there. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel