php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58270 Build fails with ZTS enabled
Submitted: 2008-07-11 21:42 UTC Modified: 2008-08-17 07:39 UTC
From: haakhi at gmail dot com Assigned:
Status: Closed Package: bbcode (PECL)
PHP Version: 5.2.5 OS: linux 2.6.24-gentoo-r7
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: haakhi at gmail dot com
New email:
PHP Version: OS:

 

 [2008-07-11 21:42 UTC] haakhi at gmail dot com
Description:
------------
When I try to emerge pecl-bbcode-1.0.0, the build fails with messages about too many parameters to zend_is_callable, and undeclared 'tsrm_ls'.

Changing php_bbcode.c by:
 - Removing the TSRMLS_CC argument for zend_is_callable(), and
 - adding a TSRMLS_DC argument for _php_bbcode_add_element,
fixes the problem.

Actual result:
--------------
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_handling_content':
.../bbcode-1.0.0/php_bbcode.c:90: error: too many arguments to function 'zend_is_callable'
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_handling_param':
.../bbcode-1.0.0/php_bbcode.c:142: error: too many arguments to function 'zend_is_callable'
.../bbcode-1.0.0/php_bbcode.c: In function '_php_bbcode_add_element':
.../bbcode-1.0.0/php_bbcode.c:208: error: 'tsrm_ls' undeclared (first use in this function)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-17 07:39 UTC] xdecock at gmail dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/bbcode


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 07:01:26 2025 UTC