php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57848 too few arguments to function 'zend_exception_get_default'
Submitted: 2007-09-25 16:48 UTC Modified: 2007-09-26 04:31 UTC
From: jamesj2 at gmail dot com Assigned: dmitry (profile)
Status: Closed Package: perl (PECL)
PHP Version: 5.2.1 OS: Gentoo
Private report: No CVE-ID: None
 [2007-09-25 16:48 UTC] jamesj2 at gmail dot com
Description:
------------
I was hoping to use the perl extension with RSPerl but I'm unable to compile pecl-perl with php-5.2.4.  



Reproduce code:
---------------
~/src/perl-1.0.0 $ make
/bin/sh src/perl-1.0.0/libtool --mode=compile gcc  -I. -Isrc/perl-1.0.0 -DPHP_ATOM_INC -Isrc/perl-1.0.0/include -Isrc/perl-1.0.0/main -Isrc/perl-1.0.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -c src/perl-1.0.0/php_perl.c -o php_perl.lo
mkdir .libs
 gcc -I. -Isrc/perl-1.0.0 -DPHP_ATOM_INC -Isrc/perl-1.0.0/include -Isrc/perl-1.0.0/main -Isrc/perl-1.0.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -c src/perl-1.0.0/php_perl.c  -fPIC -DPIC -o .libs/php_perl.o
src/perl-1.0.0/php_perl.c: In function 'php_perl_sv_to_zval_noref':
src/perl-1.0.0/php_perl.c:511: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
src/perl-1.0.0/php_perl.c: In function 'php_perl_call_method':
src/perl-1.0.0/php_perl.c:651: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
src/perl-1.0.0/php_perl.c: In function 'php_perl_call':
src/perl-1.0.0/php_perl.c:714: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
src/perl-1.0.0/php_perl.c: In function 'zm_startup_perl':
src/perl-1.0.0/php_perl.c:1779: warning: assignment from incompatible pointer type
src/perl-1.0.0/php_perl.c:1782: error: too few arguments to function 'zend_exception_get_default'
src/perl-1.0.0/php_perl.c: In function 'zim_Perl_eval':
src/perl-1.0.0/php_perl.c:1867: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-26 04:31 UTC] dmitry at zend dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 22:01:26 2020 UTC