|  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: 2020-09-14 14:17 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mlocati at gmail dot com Assigned:
Status: Open Package: gmagick (PECL)
PHP Version: 8.0.0beta3 OS: Ubuntu
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 08:01:23 2020 UTC