Re: PHP6 - rar extension
| From: | Antony Dovgal | Date: | Thu, 30 Aug 2007 10:23:23 +0000 |
| Subject: | Re: PHP6 - rar extension | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31981@lists.php.net to get a copy of this message | ||
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