On 24/09/2020 06:25, Andreas Metzler wrote:
On 2020-08-28 peter green <plugw...@p10link.net> wrote:
Tags 966904 +patch
thanks

The issue is that Magick++.h (indirectly) includes assert.h inside a namespace.
[...]
I would argue that is a bug in imagemagick and have filed bugs in both Debian 
and upstream as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969128 and 
https://github.com/ImageMagick/ImageMagick6/issues/95
[...]

Hello Peter,

thanks for your help.

Did you note that the ImageMagick6 issue 95 has an comment ("We compiled
your source under Fedora and Centos without complaint [...]  Perhaps
there is a problem in the Debian tool chains.")
I did see it, but not sure how best to respond (and I don't really want to get 
deeply involved in this).

I still think it's imagemagick's fault for including assert.h inside a 
namespace and hence breaking other users of the
header, even if it happens to work on some other distros (which presumably have 
slightly different header interdependencies).

Reply via email to