bug-ncurses
[Top][All Lists]
Advanced

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

Re: Building 64-bit version of ncurses on Solaris 8


From: Albert Chin
Subject: Re: Building 64-bit version of ncurses on Solaris 8
Date: Fri, 1 Feb 2002 12:40:24 -0600
User-agent: Mutt/1.2.5i

On Fri, Feb 01, 2002 at 05:59:47AM -0500, Thomas Dickey wrote:
> On Fri, Feb 01, 2002 at 12:43:44AM -0600, Albert Chin wrote:
> > I am attempting to build a 64-bit version of the ncurses library on
> > Solaris 8/SPARC using the Sun C compiler. Building the 32-bit version
> > works fine. However, for the 64-bit version (CFLAGS="-xarch=v9"):
> > 
> > [error snipped]
> > 
> > The problem is that in /usr/include/stdio_impl.h:
> >   struct FILE {
> >     long __pad[16];
> >   }
> > when we're compiling in 64-bit mode. For 32-bit mode, you get the
> > usual things you expect in the FILE struct.
> > 
> > Is there a solution? An alternate vsscanf is available as part of the
> > trio library:
> >   http://ctrio.sourceforge.net
> 
> that's possible (though it might take some rework).  I could always make a
> fallback working about as well as safe_sprintf, but have been reluctant to do
> so because it's a lot of code for a special case.  Someone else reported this
> last month and simply ifdef'd the code to say it fails.

If we contribute a patch to use the trio library, will you consider
it? It is kinda overkill but we've added it to other packages without
problems.

-- 
albert chin (address@hidden)



reply via email to

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