coders/png.c missing declaration when QuantumDepth=32

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

coders/png.c missing declaration when QuantumDepth=32

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Thanks for the problem report. We will have a fix for this problem in the next point release.
Post Reply