-
Notifications
You must be signed in to change notification settings - Fork 327
lvalue required as left operand of assignment GC_REFCOUNT(&le) = 1; #385
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Was this problem resolved? Is this something I'll need to handle for an upcoming 7.x release? |
I have found my issue is similar this #385, build it sucess Here is the php-7.3-dev for docker https://hub.docker.com/r/tekintian/php/ with php-memcached-dev |
Found it, this is a documented change in the API for PHP 7.3: https://github.com/php/php-src/blob/master/UPGRADING.INTERNALS#L78 Workaround suggested here: https://cismon.net/2018/02/06/Changes-of-Zend-API-in-PHP-7.3/ |
That's great, thanks! |
when build with the latest php version https://github.com/php/php-src .
error: lvalue required as left operand of assignment
php_memcached.c . line 1301:
GC_REFCOUNT(&le) = 1;
php_memcached_session.c:379:20: error: lvalue required as left operand of assignment
GC_REFCOUNT(&le) = 1;
^
make: *** [php_memcached_session.lo] Error 1
/tmp/php-memcached-master/php_memcached_session.c: In function 'ps_open_memcached':
/tmp/php-memcached-master/php_memcached_session.c:379:20: error: lvalue required as left operand of assignment
GC_REFCOUNT(&le) = 1;
^
make: *** [php_memcached_session.lo] Error 1
Makefile:202: recipe for target 'php_memcached_session.lo' failed
The text was updated successfully, but these errors were encountered: