[Top][All Lists]

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

Re: lynx-dev ncurses/cygwin naming conflict building lynx

From: Thomas Dickey
Subject: Re: lynx-dev ncurses/cygwin naming conflict building lynx
Date: Sat, 22 Feb 2003 15:30:55 -0500
User-agent: Mutt/1.3.27i

On Mon, Feb 17, 2003 at 09:09:35AM -0800, Doug Kaufman wrote:
> I just built lynx2.8.5dev.14 under Cygwin using the latest ncurses
> (5.3.20030215). There is a naming conflict between Cygwin and ncurses
> which wasn't present in ncurses 5.2. The 5.3 version of "curses.h" now
> defines "KEY_EVENT", but "KEY_EVENT" is also defined in the cygwin
> header "wincon.h" which is included by "windows.h", which in turn
> is included by "HTUtils.h". Am I missing an easy fix, or would this
> require a change of the name in either cygwin or ncurses to fix this?
> The conflict only causes a warning during compilation.

checking a little more, a more complete answer is that I originally
ifdef'd this symbol (since it is an extension), but removed the ifdef's
to accommodate a mildy-broken tool of Debian's (a political fix).

Most of the other KEY_xxx symbols are defined by X/Open curses, except
for the KEY_RESIZE (can't really rename any of those).

Thomas E. Dickey <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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