|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: buildsmart at daleenterprise dot com
New email:
PHP Version: OS:


 [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-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 05:03:33 2022 UTC