|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80106 Compilation failed with PHP 8
Submitted: 2020-09-14 13:55 UTC Modified: 2021-02-12 16:44 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:1 (33.3%)
From: mlocati at gmail dot com Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 8.0.0beta3 OS: Ubuntu
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:
Bug Type:
From: mlocati at gmail dot com
New email:
PHP Version: OS:


 [2020-09-14 13:55 UTC] mlocati at gmail dot com
It's not possible to compile gmagick for PHP8.

I have a bunch of errors like:

php_gmagick_helpers.h:43:69: error: expected ‘;’, ‘,’ or ‘)’ before ‘TSRMLS_DC’

void *get_pointinfo_array(zval *coordinate_array, int *num_elements TSRMLS_DC);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-14 14:17 UTC]
These TSRM* macros are removed as of PHP 8.0.0, and are not necessary anymore as of PHP 7.0.0, so yes, gmagick needs to be updated.
 [2020-12-02 09:31 UTC] shop1 at mokraemer dot de
Still valid. Will there be a release soon?
 [2021-02-12 16:44 UTC] mlocati at gmail dot com
-Status: Open +Status: Closed
 [2021-02-12 16:44 UTC] mlocati at gmail dot com
We have a new version on PECL that works with PHP 8.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 02:01:35 2024 UTC