Le 24/06/2016 à 18:38, PECL Announce a écrit :
> The new PECL package ps-1.4.0 (stable) has been released at 
> http://pecl.php.net/.
> 
> Release notes
> -------------
> add support for phpng and drop ѕupport for php5

Doesn't seems to be ready for PHP 7.0

/tmp/ps-1.4.0/ps.c: Dans la fonction ‘zif_ps_string_geometry’:
/tmp/ps-1.4.0/ps.c:1119:9: attention : variable ‘width’ set but not used
[-Wunused-but-set-variable]
  double width, size = 0.0;
         ^
/tmp/ps-1.4.0/ps.c: Dans la fonction ‘zif_ps_open_memory_image’:
/tmp/ps-1.4.0/ps.c:1345:2: attention : ‘zend_get_parameters_ex’ is
deprecated [-Wdeprecated-declarations]
  if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &arg1, &arg2) ==
FAILURE) {
  ^
In file included from /opt/remi/php70/root/usr/include/php/main/php.h:39:0,
                 from /tmp/ps-1.4.0/ps.c:25:
/opt/remi/php70/root/usr/include/php/Zend/zend_API.h:249:73: note :
declared here
 ZEND_API ZEND_ATTRIBUTE_DEPRECATED int zend_get_parameters_ex(int
param_count, ...);
                                                                         ^
/tmp/ps-1.4.0/ps.c:1350:49: erreur : request for member ‘value’ in
something not a structure or union
  if ((ps = (PSDoc *) zend_fetch_resource(Z_RES_P(arg1), "ps document",
le_psdoc)) == NULL) { RETURN_FALSE; }
                                                 ^
/tmp/ps-1.4.0/ps.c:1351:2: attention : implicit declaration of function
‘ZEND_GET_RESOURCE_TYPE_ID’ [-Wimplicit-function-declaration]
  ZEND_GET_RESOURCE_TYPE_ID(le_gd, "gd");
  ^
/tmp/ps-1.4.0/ps.c:1356:52: erreur : request for member ‘value’ in
something not a structure or union
  if ((im = (gdImagePtr) zend_fetch_resource(Z_RES_P(arg2), "Image",
le_gd)) == NULL) { RETURN_FALSE; }
                                                    ^



Remi.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to