php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48503 invalid conversion from 'void*' to 'zval*' in zend_execute.h
Submitted: 2009-06-09 10:02 UTC Modified: 2010-12-20 12:44 UTC
From: webmaster at ajeux dot com Assigned: pajoye (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.3CVS-2009-06-09 (CVS) OS: Linux 2.6.28
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: webmaster at ajeux dot com
New email:
PHP Version: OS:

 

 [2009-06-09 10:02 UTC] webmaster at ajeux dot com
Description:
------------
Latest snapshot (php5.3-200906090830) failed to compile. The same bug is encountered in php5.3-200906081430.

gcc version 4.3.0 20080428.

It seems bug is related to ext/intl.

Reproduce code:
---------------
./configure '--with-libdir=lib64' '--enable-zip' '--with-xsl' '--enable-wddx' '--with-tidy' '--enable-soap' '--with-bz2' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-openssl' '--with-pdo-mysql=mysqlnd' '--with-pdo-sqlite' '--with-pspell' '--with-pgsql' '--with-pdo-pgsql' '--with-zlib' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-curlwrappers' '--enable-dba' '--enable-exif' '--enable-ftp' '--with-gd' '--with-gmp' '--enable-pcntl' '--enable-shmop' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-xmlrpc' '--with-ldap' '--enable-mbstring' '--with-png-dir' '--with-jpeg-dir' '--with-xpm-dir' '--with-freetype-dir' '--with-gdbm' '--with-mcrypt' '--with-gettext' '--with-readline' '--enable-intl' '--enable-gcov' && make && make test



Expected result:
----------------
Make succeed :)

Actual result:
--------------
In file included from /usr/src/phptest/php5.3-200906090830/Zend/zend_API.h:30,
                 from /usr/src/phptest/php5.3-200906090830/main/php.h:38,
                 from ext/intl/php_intl.h:23,
                 from /usr/src/phptest/php5.3-200906090830/ext/intl/msgformat/msgformat_helpers.cpp:26:
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h: In function 'void zend_arg_types_stack_2_pop(zend_ptr_stack*, zval**, zend_function**)':
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h:301: error: invalid conversion from 'void*' to 'zval*'
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h:302: error: invalid conversion from 'void*' to 'zend_function*'
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h: In function 'void zend_arg_types_stack_3_pop(zend_ptr_stack*, zend_class_entry**, zval**, zend_function**)':
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h:311: error: invalid conversion from 'void*' to 'zend_class_entry*'
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h:312: error: invalid conversion from 'void*' to 'zval*'
/usr/src/phptest/php5.3-200906090830/Zend/zend_execute.h:313: error: invalid conversion from 'void*' to 'zend_function*'
make: *** [ext/intl/msgformat/msgformat_helpers.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-09 10:04 UTC] pajoye@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-12-20 12:44 UTC] jani@php.net
-Package: Tidy +Package: Compile Failure
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 14:00:03 2025 UTC