help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] redefine error of Display


From: Goodwu
Subject: Re: [h-e-w] redefine error of Display
Date: Thu, 16 Oct 2003 22:42:13 +0800

I'm compiling the CVS version. It seems that this problem is not properly fixed.
BTW, the xpm headers are downloaded from gnuwin32.sourceforge.net. The package 
name is xpm-nox-4.2.0-lib.zip.

>Goodwu wrote:
>
>> There's a bug in the compilation.
>> "typedef HDC Display;" is in both src/w32gui.h and X11/simx.h,
>
>What version are you compiling? Released versions of Emacs do not have
>image support, so the xpm headers should not be included. Emacs from CVS
>has a proper fix for this clash.
>
>> so I change them from:
>> <----------------------
>> typedef HDC Display;
>> ---------------------->
>> to:
>> <----------------------
>> #ifndef ___HDC_DISPLAY
>> #define ___HDC_DISPLAY
>> typedef HDC Display;
>> #endif        
>> ---------------------->
>> to avoid the redefine error.
>
>That is not a good solution. The Emacs definition of Display and the XPM
>library definition of Display are very different.
>
>
>







reply via email to

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