php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: buildsmart at daleenterprise dot com
New email:
PHP Version: OS:

 

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

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

Reproduce code:
---------------
ext/rar/rar.cpp:
PHP_MINIT_FUNCTION(rar)
{
	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, 
int)':
/php-src/ext/rar/rar.cpp:636: error: invalid conversion from 
'void*' to 'UChar*'

offending line:
	INIT_CLASS_ENTRY(rar_class_entry, "RarEntry", 
php_rar_class_functions);


Patches

Pull Requests

History

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC