Hi everyone,
On 27/11/2017 17:56, Sara Golemon wrote:
>> Can do a proper bug report if needed, but maybe I get around to test
>> NetBSD as well.
>>
> Thanks!
I've just tested a NetBSD 7.0 i386 machine and I'm getting a few errors:
ext/standard/net.c: In function ‘php_inet_ntop’:
ext/standard/net.c:82:41: error: ‘NI_MAXHOST’ undeclared (first use in
this function)
zend_string *ret = zend_string_alloc(NI_MAXHOST, 0);
^
ext/standard/net.c:82:41: note: each undeclared identifier is reported
only once for each function it appears in
ext/standard/net.c:83:4: warning: implicit declaration of function
‘getnameinfo’ [-Wimplicit-function-declaration]
if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0,
NI_NUMERICHOST) == SUCCESS) {
^
ext/standard/net.c:83:71: error: ‘NI_NUMERICHOST’ undeclared (first use
in this function)
if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0,
NI_NUMERICHOST) == SUCCESS) {
^
ext/standard/net.c: At top level:
ext/standard/net.c:98:13: warning: ‘iface_append_unicast’ defined but
not used [-Wunused-function]
static void iface_append_unicast(zval *unicast, zend_long flags,
^
*** Error code 1
I'll see if I can get them fixed in the next few days.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php