emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem with library images on Windows (again)


From: Eli Zaretskii
Subject: Re: Problem with library images on Windows (again)
Date: Fri, 20 May 2005 13:01:15 +0300

> Cc: Juanma Barranquero <address@hidden>,  address@hidden
> From: address@hidden (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]