Page 1 of 1

Declaration of MaxMap is buggy

Posted: 2007-09-18T00:48:44-07:00
by aless
Hi,
in /include/magick/magick-type.h you declare MaxMap and some others as:

Code: Select all

#define MaxMap  ((Quantum) 65535)
#define QuantumRange  ((Quantum) 65535)
This is wrong because it forces me to be using the Magick namespace!
Please fix these two lines (and the other faulty #defines) to:

Code: Select all

#define MaxMap  ((Magick::Quantum) 65535)
#define QuantumRange  ((Magick::Quantum) 65535)
Thanks,
Alessandro

Re: Declaration of MaxMap is buggy

Posted: 2007-09-18T07:40:33-07:00
by magick
We will fix the namespace problem is the next point release. Thanks.