php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58839 Compile error with php 5.3
Submitted: 2009-08-29 05:19 UTC Modified: 2017-04-01 19:30 UTC
From: hemicalyaction at gmail dot com Assigned:
Status: Wont fix Package: bbcode (PECL)
PHP Version: 5_3 CVS-2009-08-29 (dev) OS: Debian 5.0 (x86 and amd64)
Private report: No CVE-ID: None
 [2009-08-29 05:19 UTC] hemicalyaction at gmail dot com
Description:
------------
Receiving below error while trying to install bbcode current stable
version with php 5.3 (stable). Not sure whether something wrong with my setup or
it's due to the problem with bbcode. Please suggest.




Actual result:
--------------
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_handling_content':
/tmp/pear/temp/bbcode/php_bbcode.c:92: error: too few arguments to function 'zend_is_callable'
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_handling_param':
/tmp/pear/temp/bbcode/php_bbcode.c:144: error: too few arguments to function 'zend_is_callable'
/tmp/pear/temp/bbcode/php_bbcode.c: In function '_php_bbcode_add_element':
/tmp/pear/temp/bbcode/php_bbcode.c:249: error: too few arguments to function 'zend_is_callable'
/tmp/pear/temp/bbcode/php_bbcode.c:271: error: too few arguments to function 'zend_is_callable'
make: *** [php_bbcode.lo] Error 1
ERROR: `make' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-29 08:11 UTC] xdecock at gmail dot com
It's a problem on my side, i'll try to fix this during the weekend
 [2009-08-30 14:16 UTC] xdecock at gmail dot com
this should be fixed in SVN can you please test with the trunk? 

Thanks a lot.

However, I think that you enabled the thread safety on your php build, i don't know if it's on purpose.

Xavier.
 [2009-08-30 14:45 UTC] hemicalyaction at gmail dot com
Problem still exists:

/usr/src/bbcode/php_bbcode.c: In function '_php_bbcode_callback_handler':
/usr/src/bbcode/php_bbcode.c:75: error: too many arguments to function 'zend_is_callable'
/usr/src/bbcode/php_bbcode.c: In function '_php_bbcode_add_element':
/usr/src/bbcode/php_bbcode.c:197: error: too many arguments to function 'zend_is_callable'
/usr/src/bbcode/php_bbcode.c:218: error: too many arguments to function 'zend_is_callable'
make: *** [php_bbcode.lo] Error 1
`make' failed

I have php5.3 compiled without thread_safe
 [2009-08-30 15:47 UTC] xdecock at gmail dot com
OK, found the problem, i was using a double define to permit the php 5.3 compilation.

However, it seems the double define was not working properly, everythings compile finely with  TSRMLS_CC under php 5.2

So, i commit with simply tsrmls_cc and not my complex define test.

So, it's commited with simply TSRMLS_CC and not the PHP_BBCODE_CALLABLE define i added month agos to prepare php 5.3

Sorry for now i don't have a test box in 5.3
 [2009-08-30 16:18 UTC] hemicalyaction at gmail dot com
Works fine now. Thanks!
 [2017-04-01 19:30 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-01 19:30 UTC] tpunt@php.net
Due to this extension not seeing any activity since 2010, this issue will not be fixed. We are therefore closing this now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 14:01:29 2024 UTC