You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:info:build /opt/local/include/php83/php/Zend/zend_operators.h:272:14:
error: cannot initialize a variable of type 'const char *' with an rvalue
of type 'const void *'
:info:build const char *p = memchr(s, '\0', maxlen);
:info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make: *** [intl_convertcpp.lo] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php83-intl/work/php-8.3.1/ext/intl'
The problem is in /opt/local/include/php83/php/Zend/zend_operators.h -
specifically these new lines in php83 :
(this is a diff -u w/ the php82 version)
Description
compiling gives this error :
The problem is in /opt/local/include/php83/php/Zend/zend_operators.h -
specifically these new lines in php83 :
(this is a diff -u w/ the php82 version)
Anything earlier than Mac OS X 10.7, since
strnlen
made its first appearance in 10.7. hits the #else and triggers the bugpossible workaround : copy the php82 version of zend_operators.h to php83
I tried that; and it did compile; and it does seem to work
PHP Version
php 8.3.1
Operating System
mac OS X 10.16.8 Snow Leopard
The text was updated successfully, but these errors were encountered: