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
Occurs in zend/classimpl.cpp:358:32. Compiling on Raspberry PI 4 with 4GB using g++ version (Raspbian 8.3.0-6+rpi1) 8.3.0. Here is the error: zend/classimpl.cpp: In member function ‘zend_object_handlers* Php::ClassImpl::objectHandlers()’: zend/classimpl.cpp:358:32: error: invalid conversion from ‘void (*)(zval*, zval*, zval*, void**)’ {aka ‘void (*)(_zval_struct*, _zval_struct*, _zval_struct*, void**)’} to ‘zend_object_write_property_t’ {aka ‘_zval_struct* (*)(_zval_struct*, _zval_struct*, _zval_struct*, void**)’} [-fpermissive] _handlers.write_property = &ClassImpl::writeProperty; ^~~~~~~~~~
Note that a simple cast is missing. The following change on line 358 corrects the error: _handlers.write_property = (zend_object_write_property_t) &ClassImpl::writeProperty; //vbh21114
The text was updated successfully, but these errors were encountered:
Corrections as shown in issues 473 and 474 allows the make to complete albeit with several warnings using g++ version (Raspbian 8.3.0-6+rpi1) 8.3.0 against PHP 7.4.14 on a Raspberry PI 4 with 4GB.
Occurs in zend/classimpl.cpp:358:32. Compiling on Raspberry PI 4 with 4GB using g++ version (Raspbian 8.3.0-6+rpi1) 8.3.0. Here is the error:
zend/classimpl.cpp: In member function ‘zend_object_handlers* Php::ClassImpl::objectHandlers()’: zend/classimpl.cpp:358:32: error: invalid conversion from ‘void (*)(zval*, zval*, zval*, void**)’ {aka ‘void (*)(_zval_struct*, _zval_struct*, _zval_struct*, void**)’} to ‘zend_object_write_property_t’ {aka ‘_zval_struct* (*)(_zval_struct*, _zval_struct*, _zval_struct*, void**)’} [-fpermissive] _handlers.write_property = &ClassImpl::writeProperty; ^~~~~~~~~~
Note that a simple cast is missing. The following change on line 358 corrects the error:
_handlers.write_property = (zend_object_write_property_t) &ClassImpl::writeProperty; //vbh21114
The text was updated successfully, but these errors were encountered: