|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 06:03:33 2021 UTC