weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #40981] illumos compilation issues


From: Lauri Tirkkonen
Subject: [Weechat-dev] [bug #40981] illumos compilation issues
Date: Mon, 23 Dec 2013 09:15:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10

Follow-up Comment #6, bug #40981 (project weechat):

I did see it, but I am saying that it isn't entirely right. Like I said
before,
strptime was introduced in XPG4. That means that the macro requirements are
actually, per the illumos manual page standards(5)
(http://illumos.org/man/5/standards), XPG4 ("The application  must  define
_XOPEN_SOURCE and  set _XOPEN_VERSION=4.  If _XOPEN_SOURCE is defined with a
value, the value  must be less than 500."), XPG4v2 ("The application  must
define  _XOPEN_SOURCE and set _XOPEN_SOURCE_EXTENDED=1.   If _XOPEN_SOURCE is
defined with a  value, the value must be less than 500."), SUSv2
(_XOPEN_SOURCE=500), SUSv3/POSIX-1.2001 (_XOPEN_SOURCE=600) or POSIX-1.2008
(_XOPEN_SOURCE=700).

700 does not work on illumos precisely because it does not yet support
POSIX-1.2008 (per standards(5)) and I suspect the reason it was disabled on
OpenBSD is similar (700 works on OpenBSD 5.4, as does 600).

My point is that it should not be necessary to have that check if the build
system defines macros according to the standards that the application
requires,
assuming the target operating systems conform to the standard.  If weechat
actually does require POSIX 2008 then it won't compile on illumos presently,
but at least in the strptime case that requirement is too high.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?40981>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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