Page 1 of 1

coders/png.c missing declaration when QuantumDepth=32

Posted: 2007-03-18T16:20:21-07:00
by rmagick
Trying to build ImageMagick 6.3.3-1 with QuantumDepth=32, I get this message from make:

/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./magick -I./wand -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libxml2 -g -Wall -W -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c
coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:2503: error: 'quantum' undeclared (first use in this function)
coders/png.c:2503: error: (Each undeclared identifier is reported only once
coders/png.c:2503: error: for each function it appears in.)
make: *** [coders/coders_png_la-png.lo] Error 1

Re: coders/png.c missing declaration when QuantumDepth=32

Posted: 2007-03-18T18:06:31-07:00
by magick
Thanks for the problem report. We will have a fix for this problem in the next point release.