mac os x compile failure in quantize.c (6.4.2.3)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
epo001

mac os x compile failure in quantize.c (6.4.2.3)

Post by epo001 »

This is IM 6.4.2.3 using Apple developer tools on mac os x 10.5.4, extract from make log:

make all-am
/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl
-I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/libxml2 -g -O2 -Wall
-W -D_THREAD_SAFE -c -o magick/magick_libMagickCore_la-quantize.lo `test -f 'magick/quantize.c' || echo './'`magick/quantize.c
magick/quantize.c: In function ‘SetGrayscaleImage’:
magick/quantize.c:2903: error: array subscript is not an integer
magick/quantize.c:2915: error: array subscript is not an integer
make[1]: *** [magick/magick_libMagickCore_la-quantize.lo] Error 1
make: *** [all] Error 2

My configure options are:
$ ./configure --with-quantum-depth=16 --disable-dependency-tracking --with-x=yes
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ --without-perl --enable-hdri

Ed
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: mac os x compile failure in quantize.c (6.4.2.3)

Post by magick »

Thanks. We have a patch in the subversion trunk for the problem you reported.
Post Reply