bug-ncurses
[Top][All Lists]
Advanced

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

Solaris 64 bit problem


From: hemarko
Subject: Solaris 64 bit problem
Date: Thu, 27 Dec 2001 15:55:45 -0500

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 do not subscribe to you mailing list so please respond to
address@hidden directly.

--

Said the fox to the fish, "Join me ashore."
The fish are the Jews, Torah is our water.

Hillel (Sabba) Markowitz - address@hidden





reply via email to

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