In ImageMagick 6.4.2-4 there is a new option ShepardsDistortion in  
the DistortImageMethod enum in distort.h. But there is a comma after  
it, even though it is the last item in the enum. This causes this  
compiler error when trying to use distort.h (at least on Mac OS X's  
gcc 4.0 compiler):

/opt/local/include/ImageMagick/magick/distort.h:38: error: comma at  
end of enumerator list

See this ticket which was filed with the MacPorts project:

http://trac.macports.org/ticket/16072

We have worked around the issue by removing the trailing comma:

http://trac.macports.org/browser/trunk/dports/graphics/ImageMagick/ 
files/patch-magick-distort.h.diff?rev=38524

But I wanted to let you know so you can make the fix in your sources  
too.

Thanks.

-Ryan

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to