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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:32 2024 UTC