Re: [VOTE] Weak References
| From: | Pierre Joye | Date: | Wed, 03 Aug 2011 15:13:48 +0000 |
| Subject: | Re: [VOTE] Weak References | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54317@lists.php.net to get a copy of this message | ||
On Wed, Aug 3, 2011 at 4:29 PM, Etienne Kneuss <colder@php.net> wrote:
> Hi,
>
> http://pecl.php.net/package/Weakref has been created, and the
> standalone code should compile fine (I checked for 5_3 only but
> everything should be smooth for 5_4/trunk)
Not exactly (for the record here):
weakref.c
g:\php-sdk\php54\vc9\x86\pecl\weakref\weakref.c(153) : error C2039:
'default_properties' : is not a member of '_zend_class_entry'
g:\php-sdk\php54\vc9\x86\php54\zend\zend.h(462) : see
declaration of '_zend_class_entry'
g:\php-sdk\php54\vc9\x86\pecl\weakref\weakref.c(153) : warning C4047:
'function' : 'HashTable *' differs in levels of indirection from
'copy_ctor_func_t'
g:\php-sdk\php54\vc9\x86\pecl\weakref\weakref.c(153) : warning C4024:
'zend_hash_copy' : different types for formal and actual parameter 2
g:\php-sdk\php54\vc9\x86\pecl\weakref\weakref.c(153) : warning C4022:
'zend_hash_copy' : pointer mismatch for actual parameter 4
g:\php-sdk\php54\vc9\x86\pecl\weakref\weakref.c(153) : error C2198:
'zend_hash_copy' : too few arguments for call
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org