Re: PHP6 - rar extension

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

« previous php.internals (#31987) next »