|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57811 build failure under PHP-6
Submitted: 2007-08-30 02:03 UTC Modified: 2009-11-21 13:58 UTC
From: buildsmart at daleenterprise dot com Assigned:
Status: Wont fix Package: rar (PECL)
PHP Version: Irrelevant OS: darwin 8.8.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-08-30 02:03 UTC] buildsmart at daleenterprise dot com
compile failure under php-6.

may be more errors but I can't get past this one.

Reproduce code:
	zend_class_entry rar_class_entry;

	INIT_CLASS_ENTRY(rar_class_entry, "RarEntry", php_rar_class_functions);
	rar_class_entry_ptr = zend_register_internal_class(&rar_class_entry TSRMLS_CC);

Expected result:
compile without errors.

Actual result:
/php-src/ext/rar/rar.cpp: In function 'int zm_startup_rar(int, 
/php-src/ext/rar/rar.cpp:636: error: invalid conversion from 
'void*' to 'UChar*'

offending line:
	INIT_CLASS_ENTRY(rar_class_entry, "RarEntry", 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-30 05:10 UTC] tony at daylessday dot org
PECL/rar does not support PHP6 yet.
Feel free to help me with that if you like.
 [2007-10-03 05:38 UTC] tony at daylessday dot org
Works just fine with GCC, fix your compiler.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Oct 20 07:01:23 2020 UTC