|
From: | Thomas Dickey |
Subject: | Re: fails to build under Solaris 10/Sparc |
Date: | Fri, 28 Oct 2011 19:27:51 -0400 (EDT) |
On Fri, 28 Oct 2011, Thomas Dickey wrote:
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
for the compilers I have at hand, that definition is needed (for instance, without it, the c++ binding will not compile using gcc 4.2.4 when wide-characters are enabled).
But they differ from one release to another - I'll add a configure check for the cases that I can see where it is required, and that should improve things for the compiler you're using.
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |