From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Problem with library images on Windows (again) Date: Fri, 20 May 2005 10:24:55 +0200 Message-ID: References: <01c55c26$Blat.v2.4$0ef86680@zahav.net.il> <01c55ca5$Blat.v2.4$dd149500@zahav.net.il> <01c55d0c$Blat.v2.4$8d418800@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116582069 21796 80.91.229.2 (20 May 2005 09:41:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 09:41:09 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 20 11:40:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZ3z5-0005tz-9B for ged-emacs-devel@m.gmane.org; Fri, 20 May 2005 11:39:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZ41u-0001jz-0t for ged-emacs-devel@m.gmane.org; Fri, 20 May 2005 05:42:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DZ3WD-0002ND-Nt for emacs-devel@gnu.org; Fri, 20 May 2005 05:10:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DZ3Tz-0008S7-HS for emacs-devel@gnu.org; Fri, 20 May 2005 05:08:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZ3R5-0007mU-AH for emacs-devel@gnu.org; Fri, 20 May 2005 05:04:52 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1DZ2wj-000485-5v for emacs-devel@gnu.org; Fri, 20 May 2005 04:33:29 -0400 Original-Received: (qmail 39024 invoked from network); 20 May 2005 08:24:43 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 20 May 2005 08:24:43 -0000 Original-To: Eli Zaretskii In-Reply-To: <01c55d0c$Blat.v2.4$8d418800@zahav.net.il> (Eli Zaretskii's message of "Fri, 20 May 2005 10:20:31 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37382 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37382 "Eli Zaretskii" writes: >> Date: Thu, 19 May 2005 21:31:23 +0200 >> From: Juanma Barranquero >> >> But I don't think is an error in MSVC. I think it's some mixup between >> "pascal" and "C" style calls (as you know, the former remove their >> arguments, the latter don't). MSVC must be thinking that the external >> TIFF functions do remove their arguments, so it is not doing it. >> Sounds like an issue with the external declarations on the header >> files. > > Can you show the declarations of the TIFF functions as they appear in > the header files visible to MSVC when it compiles Emacs? Could it be that the following define need to specify "Pascal" somewhere for the tiff library? #define DEF_IMGLIB_FN(func) FARPROC fn_##func -- Kim F. Storm http://www.cua.dk