-----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-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to