php.net |  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
Votes:1
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
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: mlocati at gmail dot com
New email:
PHP Version: OS:

 

 [2020-09-14 13:55 UTC] mlocati at gmail dot com
Description:
------------
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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-14 14:17 UTC] cmb@php.net
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 Oct 25 03:01:24 2020 UTC