bug-ncurses
[Top][All Lists]
Advanced

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

Re: fails to build under Solaris 10/Sparc


From: Thomas Dickey
Subject: Re: fails to build under Solaris 10/Sparc
Date: Fri, 28 Oct 2011 06:53:34 -0400 (EDT)

On Fri, 28 Oct 2011, Peter Kruse wrote:

Hello,

On Fri, Oct 28, 2011 at 11:31 AM, Thomas Dickey <address@hidden> wrote:

that's possible.  I don't have any control over the sparc system, and found
that gcc 4.x is unsupported for x86_64, so I don't have a good way to test
this configuration directly.

At the moment, it's looking more like a bug in gcc than in ncurses though....

but ... it's just that Define of _XOPEN_SOURCE, if I compare the configure
script of ncurses 5.7 and 5.9 I find in 5.7:

solaris*) #(vi
       CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
       ;;

whereas in 5.9 it looks like this:

solaris2.1[0-9]) #(vi
       cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
       ;;

my checkin comment for that was mainly regarding 2.11 and wide-characters (it's definitely needed for that); I'll check/see what differences I see for 2.10 without the -D_XOPEN_SOURCE

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

reply via email to

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