[Top][All Lists]

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

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

From: Jason Rumney
Subject: Re: [h-e-w] redefine error of Display
Date: Thu, 16 Oct 2003 10:20:28 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

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]