Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521196

Summary: dev-python/pythonmagick-0.9.10 - _Image.cpp:118:66: error: no matching function for call to 'boost::python::class_<Magick::Image>::def(const char [17], <unresolved overloaded function type>)'
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED TEST-REQUEST    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Disambiguate method

Description Martin von Gagern 2014-08-26 23:02:18 UTC
Created attachment 383770 [details, diff]
Disambiguate method

PythonMagick-0.9.10/pythonmagick_src/_Image.cpp:118:66: error: no matching function for call to 'boost::python::class_<Magick::Image>::def(const char [17], <unresolved overloaded function type>)'
         .def("floodFillOpacity", &Magick::Image::floodFillOpacity)
                                                                  ^
This seems like a reincarnation of bug #500414: now the floodFillOpacity member has been overloaded and needs an explicit cast. At least for my media-gfx/imagemagick-6.8.9.7.

The ambiguity was apparently introduced in http://trac.imagemagick.org/changeset/16167 so I'd say the original version should be the one which accepts a PaintMethod argument.
Comment 1 Zsolti 2014-08-28 09:45:52 UTC
can confirm this.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-07-28 14:22:23 UTC
Does this still happen with 0.9.11 or 0.9.12?