Author Topic: PHP compiler - imagick-3.4.3 - deprecated-declarations  (Read 4402 times)

0 Members and 1 Guest are viewing this topic.

PHP compiler - imagick-3.4.3 - deprecated-declarations
« on: February 10, 2018, 04:32:51 AM »
CentOS Linux  7.4.1708 (Core)
Kernel 3.10.0-693.17.1.el7.x86_64
Apache & Varnish Cache & Nginx Reverse Proxy
Apache/2.4.29
nginx/1.12.2
PHP 5.6.30 ==>> 7.2.0
suPHP version 0.7.2
MySQL version: 10.1.31-MariaDB
CWPpro 0.9.8.454
SEL disabled
Mod Security disabled

Looks like the compiler scripts need some serious update

Quote
/usr/local/src/imagick-3.4.3/imagick_class.c:299:2: warning: 'MagickGetImageMatte' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:82) [-Wdeprecated-declarations]
  matte = MagickGetImageMatte(intern->magick_wand);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_paintfloodfillimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:1284:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
   status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, NULL, x, y);
   ^
/usr/local/src/imagick-3.4.3/imagick_class.c:1292:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:99) [-Wdeprecated-declarations]
   status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, border_wand, x, y);
   ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_recolorimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:1774:2: warning: 'MagickRecolorImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:109) [-Wdeprecated-declarations]
  status = MagickRecolorImage(intern->magick_wand, order, array);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_colorfloodfillimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4315:2: warning: 'MagickColorFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:75) [-Wdeprecated-declarations]
  status = MagickColorFloodfillImage(intern->magick_wand, fill_wand, fuzz, border_wand, x, y);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_mapimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4743:2: warning: 'MagickMapImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:86) [-Wdeprecated-declarations]
  status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_mattefloodfillimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4784:2: warning: 'MagickMatteFloodfillImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:88) [-Wdeprecated-declarations]
  status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, color_wand, x, y);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_medianfilterimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4822:2: warning: 'MagickMedianFilterImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:217) [-Wdeprecated-declarations]
  status = MagickMedianFilterImage(intern->magick_wand, radius);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_paintopaqueimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4904:2: warning: 'MagickPaintOpaqueImageChannel' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:104) [-Wdeprecated-declarations]
  status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, target_wand, fill_wand, fuzz);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_painttransparentimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:4987:2: warning: 'MagickPaintTransparentImage' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:107) [-Wdeprecated-declarations]
  status = MagickPaintTransparentImage(intern->magick_wand, color_wand, alpha, fuzz);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_reducenoiseimage':
/usr/local/src/imagick-3.4.3/imagick_class.c:5151:2: warning: 'MagickReduceNoiseImage' is deprecated (declared at /usr/include/ImageMagick/wand/magick-image.h:266) [-Wdeprecated-declarations]
  status = MagickReduceNoiseImage(intern->magick_wand, radius);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_getimageattribute':
/usr/local/src/imagick-3.4.3/imagick_class.c:6481:2: warning: 'MagickGetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:59) [-Wdeprecated-declarations]
  attribute = MagickGetImageAttribute(intern->magick_wand, key);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_getimagechannelextrema':
/usr/local/src/imagick-3.4.3/imagick_class.c:6698:2: warning: 'MagickGetImageChannelExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:78) [-Wdeprecated-declarations]
  status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_getimageextrema':
/usr/local/src/imagick-3.4.3/imagick_class.c:7039:2: warning: 'MagickGetImageExtrema' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:80) [-Wdeprecated-declarations]
  status = MagickGetImageExtrema(intern->magick_wand, &min, &max);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_getimageindex':
/usr/local/src/imagick-3.4.3/imagick_class.c:8151:2: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:65) [-Wdeprecated-declarations]
  status = MagickGetImageIndex(intern->magick_wand);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_getimagesize':
/usr/local/src/imagick-3.4.3/imagick_class.c:8272:2: warning: 'MagickGetImageSize' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:140) [-Wdeprecated-declarations]
  ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand));
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_setimageattribute':
/usr/local/src/imagick-3.4.3/imagick_class.c:8746:2: warning: 'MagickSetImageAttribute' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:111) [-Wdeprecated-declarations]
  status = MagickSetImageAttribute(intern->magick_wand, key, attribute);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_flattenimages':
/usr/local/src/imagick-3.4.3/imagick_class.c:9121:2: warning: 'MagickFlattenImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:132) [-Wdeprecated-declarations]
  tmp_wand = MagickFlattenImages(intern->magick_wand);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_averageimages':
/usr/local/src/imagick-3.4.3/imagick_class.c:10308:2: warning: 'MagickAverageImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:131) [-Wdeprecated-declarations]
  tmp_wand = MagickAverageImages(intern->magick_wand);
  ^
/usr/local/src/imagick-3.4.3/imagick_class.c: In function 'zim_imagick_mosaicimages':
/usr/local/src/imagick-3.4.3/imagick_class.c:10811:2: warning: 'MagickMosaicImages' is deprecated (declared at /usr/include/ImageMagick/wand/deprecate.h:135) [-Wdeprecated-declarations]
  tmp_wand = MagickMosaicImages(intern->magick_wand);