Hi Remi,
"PECL Announce" in php.pecl.dev (Mon, 23 Jul 2018 06:35:50 +0000):
>The new PECL package event-2.4.0 (stable) has been released at
>http://pecl.php.net/.
>Remi Collet (contributor)
Nice work. Compilation on Windows for PHP 7.2 (with OpenSSL 1.0.2) will
be fixed with this addition to config.w32:
ADD_FLAG("CFLAGS_EVENT", "/D EVENT__HAVE_OPENSSL=1")
Note the double underscore. This is needed because
event2/bufferevent_ssl.h contains
#if defined(EVENT__HAVE_OPENSSL) || defined(EVENT_IN_DOXYGEN_)
before defining bufferevent_openssl_set_allow_dirty_shutdown.
See libevent-2.1.8-1-vc15-x86/x64.zip
on https://windows.php.net/downloads/pecl/deps/
PHP 7.3 still fails:
ext\event\php7\php_event.c(1062): error C2440: '=': cannot convert from
'zend_object *(__vectorcall *)(zend_class_entry *)' to 'zend_object
*(__cdecl *)(zend_class_entry *)'
Line 1062 is the second line of
| PHP_EVENT_REGISTER_CLASS("EventUtil", zend_objects_new, php_event_util_ce,
| php_event_util_ce_functions);
--
Jan
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php