From:             webmaster at ajeux dot com
Operating system: Linux 2.6.28
PHP version:      5.3CVS-2009-06-09 (CVS)
PHP Bug Type:     Compile Failure
Bug description:  invalid conversion from 'void*' to 'zval*' in zend_execute.h

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


-- 
Edit bug report at http://bugs.php.net/?id=48503&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48503&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48503&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48503&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48503&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48503&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48503&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48503&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48503&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48503&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48503&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48503&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48503&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48503&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48503&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48503&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48503&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48503&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48503&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48503&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48503&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48503&r=mysqlcfg

Reply via email to