I'm trying to install zimg (http://zimg.buaa.us/ ) on a freshly installed debian jessie box.
On compilation time, I got warnings about deprecated functions. As I plan to modify the sources of this soft, I was thinking to update those old call to the right ones. But I have any clue of what to use to change them.
Please find below some revelant informations :
debian jessie 8.2
packages installed :
Only warnings :ii imagemagick-common 8:6.8.9.9-5
ii libmagickcore-6-arch-config:amd64 8:6.8.9.9-5
ii libmagickcore-6-headers 8:6.8.9.9-5
ii libmagickcore-6.q16-2:amd64 8:6.8.9.9-5
ii libmagickcore-6.q16-2-extra:amd64 8:6.8.9.9-5
ii libmagickcore-6.q16-dev:amd64 8:6.8.9.9-5
ii libmagickwand-6-headers 8:6.8.9.9-5
ii libmagickwand-6.q16-2:amd64 8:6.8.9.9-5
ii libmagickwand-6.q16-dev:amd64 8:6.8.9.9-5
So, I have to change 2 calls : MagickGetImageSize and MagickWriteImageBlob. What should I use to do so ?/root/git/zimg/src/zdb.c:132:5: warning: ‘MagickWriteImageBlob’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:166) [-Wdeprecated-declarations]
/root/git/zimg/src/zhttpd.c:339:5: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:144) [-Wdeprecated-declarations]
/root/git/zimg/src/zimg.c:307:21: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:144) [-Wdeprecated-declarations]
/root/git/zimg/src/zimg.c:312:25: warning: ‘MagickWriteImageBlob’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:166) [-Wdeprecated-declarations]
/root/git/zimg/src/zimg.c:335:17: warning: ‘MagickGetImageSize’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:144) [-Wdeprecated-declarations]
/root/git/zimg/src/zimg.c:340:21: warning: ‘MagickWriteImageBlob’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:166) [-Wdeprecated-declarations]
/root/git/zimg/src/zimg.c:358:9: warning: ‘MagickWriteImageBlob’ is deprecated (declared at /usr/include/ImageMagick-6/wand/deprecate.h:166) [-Wdeprecated-declarations]
Any search in the forum points me to a solution.