bug-ncurses
[Top][All Lists]
Advanced

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

Re: suggestions


From: Thomas Dickey
Subject: Re: suggestions
Date: Fri, 5 Dec 2003 10:26:05 -0500 (EST)

On Fri, 5 Dec 2003, Marc Glisse wrote:

> On Fri, 5 Dec 2003, Thomas Dickey wrote:
>
> > > On recent freebsd, one needs to define __BSD_VISIBLE in order to have
> > > access to u_short and such types when _XOPEN_SOURCE is defined.
> > How recent?  I've done compiles on 4.8 and 5.1
>
> Well, it is a 5.1 I am using... Google tells me the python developpers had
> that same problem with _XOPEN_SOURCE and _POSIX_C_SOURCE defined and added
> __BSD_VISIBLE. In /usr/include/sys/types.h, the u_short typedef is
> following a #if __BSD_VISIBLE and /usr/include/sys/cdefs.h does not define
> __BSD_VISIBLE when using _XOPEN_SOURCE.
>
> Now as to why it worked for you...

I'm not sure (will retest this on the weekend).  Mostly I recall the 4.8
issues (its wctype.h file is not usable).  I've been testing ports of
several packages (ncurses, dialog, cdk, xterm) over the past month, and
may be recalling that _XOPEN_SOURCE is working for a different one.

I picked up a handful of other fixes this week in rebuilds, but hadn't
noticed the screensize.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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