Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31987 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33102 invoked by uid 1010); 30 Aug 2007 19:04:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33079 invoked from network); 30 Aug 2007 19:04:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2007 19:04:47 -0000 Authentication-Results: pb1.pair.com header.from=buildsmart@daleenterprise.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=buildsmart@daleenterprise.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daleenterprise.com from 67.78.11.229 cause and error) X-PHP-List-Original-Sender: buildsmart@daleenterprise.com X-Host-Fingerprint: 67.78.11.229 daleenterprise.com Received: from [67.78.11.229] ([67.78.11.229:54265] helo=daleenterprise.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/EF-35128-9C417D64 for ; Thu, 30 Aug 2007 15:04:45 -0400 Received: from localhost (localhost [127.0.0.1]) by daleenterprise.com (Postfix) with ESMTP id B2A61225206; Thu, 30 Aug 2007 15:04:36 -0400 (EDT) Received: from daleenterprise.com ([127.0.0.1]) by localhost (daleenterprise.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03383-20; Thu, 30 Aug 2007 15:04:35 -0400 (EDT) Received: from [10.1.100.11] (relay.mustangrestomods.com [67.78.11.226]) by daleenterprise.com (Postfix) with ESMTP id 1445B2251FC; Thu, 30 Aug 2007 15:04:24 -0400 (EDT) In-Reply-To: <46D69A9B.9060508@zend.com> References: <46D68F4C.5010206@zend.com> <3C85EE41-4536-48E2-A971-743B81B929FB@daleenterprise.com> <46D69A9B.9060508@zend.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <08ADB1CA-C803-4A82-BEAD-7DCCA7E21D03@daleenterprise.com> Cc: Antony Dovgal Content-Transfer-Encoding: 7bit Date: Thu, 30 Aug 2007 15:04:23 -0400 To: php-dev X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) MTA-Interface: amavisd-new-2.3.3 (2005-08-22) + Maia Mailguard 1.1.0 at daleenterprise.com X-Spam-Scanned: using SpamAssassin 3.1.7 (2006-10-05) at daleenterprise.com X-Virus-Scanned: using ClamAV 0.88.6 (2006-11-05) at daleenterprise.com Subject: Re: [PHP-DEV] PHP6 - rar extension From: buildsmart@daleenterprise.com (BuildSmart) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yeah, I had just built something else using gcc 2.95 and forgot to switch back to 4.0, it sailed through giving it a warning and not an error. On Aug 30, 2007, at 06:23:23, Antony Dovgal wrote: > On 30.08.2007 14:08, BuildSmart wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> /php-src/ext/rar/rar.cpp: In function 'int zm_startup_rar(int, int)': >> /php-src/ext/rar/rar.cpp:677: error: invalid conversion from 'void*' >> to 'UChar*' >> >> ext/rar/rar.cpp: >> 673:PHP_MINIT_FUNCTION(rar) >> 674:{ >> 675: zend_class_entry rar_class_entry; >> 676: >> 677: INIT_CLASS_ENTRY(rar_class_entry, "RarEntry", rar_functions); >> 678: rar_class_entry_ptr = zend_register_internal_class >> (&rar_class_entry TSRMLS_CC); > > And you fixed it by changing "function_entry" to > "zend_function_entry"? > Well, then your compiler went mad. > > Because they are absolutely equal: > main/php, line 177 > #define function_entry zend_function_entry > > -- > Wbr, > Antony Dovgal > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG1xS30hzWbkf0eKgRAhqjAJwJg6mwjOIbutddcDTbOt4RNi3chgCgv+Zy rHjYQJRyxvq5/+RAdgOx9eE= =PuSg -----END PGP SIGNATURE-----