[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JPEG - GNU Emacs 21.3.50.1
From: |
Juanma Barranquero |
Subject: |
Re: JPEG - GNU Emacs 21.3.50.1 |
Date: |
Mon, 03 Feb 2003 09:42:58 +0100 |
On Mon, 03 Feb 2003 09:42:45 +0530, "Dhruva Krishnamurthy" <address@hidden>
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