bug-ncurses
[Top][All Lists]
Advanced

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

New troubles on Solaris because of XOPEN_SOURCE


From: Jean-Pierre Flori
Subject: New troubles on Solaris because of XOPEN_SOURCE
Date: Tue, 4 Feb 2014 10:48:08 +0100

Dear Thomas,

Thanks for the wonderfull support you provide.

It seems the fixes included for the Solaris/XOPEN_SOURCE issues
(http://invisible-island.net/ncurses/NEWS-index.html#t20111030) are
defeated by the new checks you introduced at the end of the
CF_XOPEN_SOURCE macro, that is what follows:
dnl In anything but the default case, we may have system-specific setting
dnl which is still not guaranteed to provide all of the entrypoints that
dnl _XOPEN_SOURCE would yield.
It may come from
http://invisible-island.net/ncurses/NEWS-index.html#t20130309 though I
did not check the diff.

Note that the real issue here is with g++ as gcc is quite happy with
being passed -D_XOPEN_SOURCE=500. (But ncurses also compiles without
COPEN_SOURCE being passed to gcc.)
So another option might be to pass -D_XOPEN_SOURCE through CFLAGS
rather than through CPPFLAGS, just as what you did for
XOPEN_SOURCE_EXTENDED in
http://invisible-island.net/ncurses/NEWS-index.html#t20131116.

Best regards,

-- 
Jean-Pierre Flori



reply via email to

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