URL:
<http://gna.org/bugs/?18527>
Summary: ImageMagick - different types used
Project: Freeciv
Submitted by: syntron
Submitted on: Sa 20 Aug 2011 22:25:28 CEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: S2_4 svn20166
Discussion Lock: Any
Operating System: None
Planned Release: 2.4.0
_______________________________________________________
Details:
In mapimg.c MagickWand is used to create an image of the map. Between version
6.6.1.0 and 6.6.5.8 the format of some functions were changed. The type of an
argument changed from 'long unsigned int' to 'size_t'
(PixelGetCurrentIteratorRow() in
/usr/include/ImageMagick/wand/pixel-iterator.h). This results in an
compilation error on some systems. I did get the following error on the open
suse build server:
mapimg.c: In function 'img_save_magickwand':
mapimg.c:2067:9: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
/usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'
mapimg.c:2087:7: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
/usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'
mapimg.c:2151:7: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
/usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'
At the moment I do not have an installation of opensuse 11.4 to test it on my
own computer.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18527>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev