error: 'MagickAddressType' undeclared

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
ryandesign
Posts: 18
Joined: 2012-05-22T18:37:42-07:00
Authentication code: 13

error: 'MagickAddressType' undeclared

Post by ryandesign »

Hello,

I'm the maintainer of the ImageMagick port in MacPorts. A user on an old Mac OS X 10.4 PowerPC system reported that ImageMagick 6.9.10-80 does not build for them. The error is:

Code: Select all

magick/memory.c: In function 'align_to_cache':
magick/memory.c:301: error: 'MagickAddressType' undeclared (first use in this function)
magick/memory.c:301: error: (Each undeclared identifier is reported only once
magick/memory.c:301: error: for each function it appears in.)
magick/memory.c:301: error: expected ')' before 'p'
Indeed, I can find no other occurrences of MagickAddressType anywhere in the source code. I do see MagickAddressType mentioned in ImageMagick 7. Was this code perhaps copied from 7 to 6 without accounting for this missing type?

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

Re: error: 'MagickAddressType' undeclared

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

Post Reply