From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: JPEG - GNU Emacs 21.3.50.1 Date: Mon, 03 Feb 2003 09:42:58 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030203094239.E6C4.LEKTU@terra.es> References: <20030203041246.0C09C40213@server2.fastmail.fm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044262198 29458 80.91.224.249 (3 Feb 2003 08:49:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 08:49:58 +0000 (UTC) Cc: Emacs Devel Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18fcIe-0007ez-00 for ; Mon, 03 Feb 2003 09:49:56 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18fcQA-0005Bx-00 for ; Mon, 03 Feb 2003 09:57:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18fcGY-0005fx-07 for emacs-devel@quimby.gnus.org; Mon, 03 Feb 2003 03:47:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18fcDj-0004wt-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 03:44:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18fcDf-0004v0-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 03:44:49 -0500 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18fcC2-0004W4-00 for emacs-devel@gnu.org; Mon, 03 Feb 2003 03:43:07 -0500 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id h138guP22111; Mon, 3 Feb 2003 09:42:58 +0100 Original-To: "Dhruva Krishnamurthy" In-Reply-To: <20030203041246.0C09C40213@server2.fastmail.fm> X-Mailer: Becky! ver. 2.05.06 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11302 On Mon, 03 Feb 2003 09:42:45 +0530, "Dhruva Krishnamurthy" wrote: > Hello, > I tried building Emacs with JPEG support using the MinGW & JPEG 6.0. > INT32 is getting redefined in the MinGW tools distribution's "basetsd.h" > file and JPEG's "jmorecfg.h" file. I had to alter the "jmorecfg.h" and > prevent the redefinition by putting it in a "#ifdef emacs" block. Why? I mean, it is causing you trouble the redefinition? With the MSVC compiler, the warning says: "warning C4142: benign redefinition of type", because it is redefining a type with another one of the same size. > Is > there a way to avoid redefinition of typedefs in 'C'? You could do preprocessor tricks (renaming things before including the relevant header, for example). /L/e/k/t/u