Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31981 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1323 invoked by uid 1010); 30 Aug 2007 10:23:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1308 invoked from network); 30 Aug 2007 10:23:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2007 10:23:28 -0000 Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:11518] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/DE-08934-E9A96D64 for ; Thu, 30 Aug 2007 06:23:28 -0400 Received: (qmail 7289 invoked from network); 30 Aug 2007 10:23:23 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 30 Aug 2007 10:23:23 -0000 Message-ID: <46D69A9B.9060508@zend.com> Date: Thu, 30 Aug 2007 14:23:23 +0400 User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: BuildSmart , php-dev References: <46D68F4C.5010206@zend.com> <3C85EE41-4536-48E2-A971-743B81B929FB@daleenterprise.com> In-Reply-To: <3C85EE41-4536-48E2-A971-743B81B929FB@daleenterprise.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP6 - rar extension From: antony@zend.com (Antony Dovgal) 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