bug-ncurses
[Top][All Lists]
Advanced

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

Re: Solaris 64 bit problem


From: Thomas E. Dickey
Subject: Re: Solaris 64 bit problem
Date: Thu, 27 Dec 2001 16:37:58 -0500 (EST)

On Thu, 27 Dec 2001, hemarko wrote:

> I am using gcc to build ncurses-5.2 in 64 bit mode on Solaris 7 and 8.
> Building in 32 bit mode works correctly, However, the vsscanf function
> explicitly uses the internal structure of FILE and puts values into the
> structure elements by hand.
>
> strbuf._flag = _IOREAD;
> strbuf._ptr = strbuf._base = (unsigned char *)str;
> strbuf._cnt = strlen(str);
> strbuf._file = _NFILE;
>
> However, Solaris hides these elements from the user in 64 bit mode (gcc
> -m64).  As a result, they are undefined and I am unable to build a 64
> bit version of the ncurses library.

I addressed this in the post-5.2 patches (see the rollup patch under
ftp://invisible-island.net/ncurses/5.2).

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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