Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46315 invoked from network); 3 Aug 2011 15:13:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2011 15:13:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:52567] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/E1-35801-EA5693E4 for ; Wed, 03 Aug 2011 11:13:51 -0400 Received: by gxk27 with SMTP id 27so572770gxk.29 for ; Wed, 03 Aug 2011 08:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q8ucucKI6p9DkyJQCJoqfstnUuTLh2bnITdLThIf7bI=; b=dNi1yD2M7nPAfO9RuyxBK5T8gT0ActcFoim5WMMaFTm8Hta9Q2529UN+Zyp5cXoWoc D10BEk+qSL3Nqn7V7wDkP6hx3lTe3JlHQxz8UPq36pfzGP7/jMVrYY8ZsF0DidO6ScN2 gj8zUQopmt2qyTF9mryrIu9mzmAxvwfd2kw78= MIME-Version: 1.0 Received: by 10.236.176.226 with SMTP id b62mr4107738yhm.181.1312384428130; Wed, 03 Aug 2011 08:13:48 -0700 (PDT) Received: by 10.147.169.17 with HTTP; Wed, 3 Aug 2011 08:13:48 -0700 (PDT) In-Reply-To: References: <4E3898B0.40809@sugarcrm.com> <4E38EC0C.9080304@lerdorf.com> <4E38FA2E.4030605@lsces.co.uk> <4E38FC67.9090200@toolpark.com> Date: Wed, 3 Aug 2011 17:13:48 +0200 Message-ID: To: Etienne Kneuss Cc: Hannes Landeholm , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE] Weak References From: pierre.php@gmail.com (Pierre Joye) On Wed, Aug 3, 2011 at 4:29 PM, Etienne Kneuss 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