We received a bug report about namespace collision in the
automake/autoconf configuration file, magick-config.h.  Gcc 4.3 returns
are error when common automake/autoconf defines are used by more than one
shared API, for example PACKAGE_NAME and PACKAGE_VERSION.  This problem
is fixed in ImageMagick 6.3.7-0 Beta by pushing these defines into the
MAGICKCORE namespace and checking to see if they are already defined.
For example,

/* Define to the version of this package. */
#ifndef MAGICKCORE_PACKAGE_VERSION 
#define MAGICKCORE_PACKAGE_VERSION  "6.3.7" 
#endif

This change may effect some distributions that depend on ImageMagick.
However, from what we can see the only define affected is
QuantumDepth which we continue to define but deprecate in favor of
MAGICKCORE_QUANTUM_DEPTH.
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to