php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72127 compile error
Submitted: 2016-04-29 02:57 UTC Modified: 2016-05-09 16:39 UTC
From: yiliaofan at gmail dot com Assigned:
Status: Wont fix Package: gmagick (PECL)
PHP Version: 5.6.21 OS: centos
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yiliaofan at gmail dot com
New email:
PHP Version: OS:

 

 [2016-04-29 02:57 UTC] yiliaofan at gmail dot com
Description:
------------
In file included from /alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:22:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/php_gmagick_helpers.h:62: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/php_gmagick_helpers.h:62: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/php_gmagick_helpers.h:62: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/php_gmagick_helpers.h:62: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c: In function ‘get_pointinfo_array’:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:439: error: expected ‘;’ before ‘{’ token
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c: In function ‘get_double_array_from_zval’:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:545: error: expected ‘;’ before ‘{’ token
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c: At top level:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:678: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:678: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:678: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:678: error: expected declaration specifiers or ‘...’ before ‘zend_long’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c: In function ‘php_gmagick_thumbnail_dimensions’:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:680: error: ‘zend_long’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:680: error: (Each undeclared identifier is reported only once
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:680: error: for each function it appears in.)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:680: error: expected ‘;’ before ‘orig_width’
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:682: error: ‘orig_width’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:683: error: ‘orig_height’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:685: error: ‘desired_width’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:685: error: ‘desired_height’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:686: error: ‘new_width’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:687: error: ‘new_height’ undeclared (first use in this function)
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c: In function ‘php_gmagick_zval_to_double_array’:
/alidata1/zhangfan/env-trunk/php/extensions/gmagick/gmagick-2.0.2RC2/gmagick_helpers.c:790: error: expected ‘;’ before ‘{’ token


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-09 16:39 UTC] vito@php.net
-Status: Open +Status: Wont fix
 [2016-05-09 16:39 UTC] vito@php.net
Version 2.0.0RC1 onwards requires GraphicsMagick version 1.3.17+ and PHP 7.0.1+
If you're using versions of PHP below 7.0.1 but above 5.1.3, please use version Gmagick 1.1.7RC3
 [2016-05-09 16:39 UTC] vito@php.net
Version 2.0.0RC1 onwards requires GraphicsMagick version 1.3.17+ and PHP 7.0.1+
If you're using versions of PHP below 7.0.1 but above 5.1.3, please use version Gmagick 1.1.7RC3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC