hhatto / pgmagick

pgmagick is a yet another boost.python based wrapper for GraphicsMagick/ImageMagick.
MIT License
147 stars 33 forks source link

_Image.cpp:102:116: error: no matching function for call to ‘boost::python::class_<Magick::Image> #41

Closed vigo332 closed 6 years ago

vigo332 commented 6 years ago

Hi, Developer,

I am working on RedHat 6.9 x86_64 with python/2.7.x-anaconda, ImageMagic 7.0.7-4 Q16 and GraphicsMagick 1.3.27. I tried to pip install pgmagick and manual source install, but came across the error with boost python.

For pip install,

the BOOST_INC env variable is not honored as the following error: Collecting pgmagick Using cached pgmagick-0.7.2.tar.gz Building wheels for collected packages: pgmagick Running setup.py bdist_wheel for pgmagick ... error Complete output from command /home2/s167891/.conda/envs/catmaid/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Qb9ny7/pgmagick/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpKPGmqZpip-wheel- --python-tag cp27: adding extra include directory /home2/s167891/installs/GraphicsMagick/include adding extra library directory /home2/s167891/installs/GraphicsMagick/lib adding extra pkgconfig directory /home2/s167891/installs/GraphicsMagick/lib/pkgconfig include header path: /home2/s167891/installs/GraphicsMagick/include/GraphicsMagick boost lib: boost_python library path: /home2/s167891/installs/GraphicsMagick/lib/libGraphicsMagick++ Found version 1.3.27 in file /home2/s167891/installs/GraphicsMagick/lib/pkgconfig/GraphicsMagick++.pc GraphicsMagick version: 1.3.27 running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/init.py -> build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/_version.py -> build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/api.py -> build/lib.linux-x86_64-2.7/pgmagick running build_ext building 'pgmagick._pgmagick' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home2/s167891/.conda/envs/catmaid/include/python2.7 -I/home2/s167891/installs/GraphicsMagick/include/GraphicsMagick -I/home2/s167891/.conda/envs/catmaid/include/python2.7 -c ./src/_DecorationType.cpp -o build/temp.linux-x86_64-2.7/./src/_DecorationType.o -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_26 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_24 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_22 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_20 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_19 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_6 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_x -D_LIBRARY_VERSION="1.3.27" cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ ./src/_DecorationType.cpp:1:28: fatal error: boost/python.hpp: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1


Failed building wheel for pgmagick Running setup.py clean for pgmagick Failed to build pgmagick Installing collected packages: pgmagick Running setup.py install for pgmagick ... error Complete output from command /home2/s167891/.conda/envs/catmaid/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Qb9ny7/pgmagick/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Wp2z41-record/install-record.txt --single-version-externally-managed --compile: adding extra include directory /home2/s167891/installs/GraphicsMagick/include adding extra library directory /home2/s167891/installs/GraphicsMagick/lib adding extra pkgconfig directory /home2/s167891/installs/GraphicsMagick/lib/pkgconfig include header path: /home2/s167891/installs/GraphicsMagick/include/GraphicsMagick boost lib: boost_python library path: /home2/s167891/installs/GraphicsMagick/lib/libGraphicsMagick++ Found version 1.3.27 in file /home2/s167891/installs/GraphicsMagick/lib/pkgconfig/GraphicsMagick++.pc GraphicsMagick version: 1.3.27 running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/init.py -> build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/_version.py -> build/lib.linux-x86_64-2.7/pgmagick copying pgmagick/api.py -> build/lib.linux-x86_64-2.7/pgmagick running build_ext building 'pgmagick._pgmagick' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home2/s167891/.conda/envs/catmaid/include/python2.7 -I/home2/s167891/installs/GraphicsMagick/include/GraphicsMagick -I/home2/s167891/.conda/envs/catmaid/include/python2.7 -c ./src/_DecorationType.cpp -o build/temp.linux-x86_64-2.7/./src/_DecorationType.o -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_26 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_24 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_22 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_20 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_19 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_6 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_x -D_LIBRARY_VERSION="1.3.27" cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ ./src/_DecorationType.cpp:1:28: fatal error: boost/python.hpp: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/home2/s167891/.conda/envs/catmaid/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Qb9ny7/pgmagick/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Wp2z41-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Qb9ny7/pgmagick/

But my boost/python.hpp file is there in my $BOOST_INC directory.

I also tried to manually make from source.

I changed the Makefile with INCS = -I$(PYTHONPATH)/../include/python2.7 -I$(MAGICK_HOME)/include/GraphicsMagick -I$(BOOST_INC) The BOOST_INC is honored, all other objects seem to compile except the _Image.cpp, I have the following no matching function error with it. ` g++ -Wall -I/cm/shared/apps/python/2.7.x-anaconda/lib/../include/python2.7 -I/home2/s167891/installs/GraphicsMagick/include/GraphicsMagick -I/cm/shared/apps/boost/gcc/1.61.0/include -o _Image.o -c _Image.cpp In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/handle.hpp:10:0, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/args_fwd.hpp:10, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/args.hpp:10, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:11, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/cast.hpp: In function ‘void boost::python::detail::assert_castable(boost::type*)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/cast.hpp:73:20: warning: typedef ‘must_be_a_complete_type’ locally defined but not used [-Wunused-local-typedefs] typedef char must_be_a_complete_type[sizeof(T)]; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/data_members.hpp:15:0, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:17, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/make_function.hpp: In function ‘boost::python::api::object boost::python::detail::make_function_aux(F, const CallPolicies&, const Sig&, const keyword_range&, NumKeywords)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/make_function.hpp:58:32: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs]

::too_many_keywords assertion; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:20:0, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/init.hpp: In constructor ‘boost::python::init<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>::init(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/init.hpp:227:34: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] ::too_many_keywords assertion; ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/init.hpp: In constructor ‘boost::python::init<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>::init(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/init.hpp:236:34: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] ::too_many_keywords assertion; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:24:0, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/object/pickle_support.hpp: In static member function ‘static void boost::python::detail::pickle_suiteregistration::register(Class_&, ...)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/object/pickle_support.hpp:110:31: warning: typedef ‘errortype’ locally defined but not used [-Wunused-local-typedefs] Class>::error_type error_type; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp: In static member function ‘static void boost::python::detail::error::virtual_function_default<T, Fn>::must_be_derived_class_member(const Default&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:143:68: warning: typedef ‘test1’ locally defined but not used [-Wunused-local-typedefs] typedef typename assertion<is_polymorphic >::failed test1; ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:145:81: warning: typedef ‘test2’ locally defined but not used [-Wunused-local-typedefs] typedef typename assertion<is_member_function_pointer >::failed test2; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:22:0, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/def.hpp: In function ‘void boost::python::detail::def_from_helper(const char, const F&, const Helper&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/def.hpp:40:19: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] ::type assertion; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:41:0, from _Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/make_constructor.hpp: In function ‘boost::python::api::object boost::python::detail::make_constructor_aux(F, const CallPolicies&, const Sig&, const keyword_range&, NumKeywords)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/make_constructor.hpp:177:32: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] ::too_many_keywords assertion; ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_def.hpp:14:0, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/overloads.hpp:11, from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:52, from _Image.cpp:1: _Image.cpp: In constructor ‘{anonymous}::Magick_Image_blur_overloads_0_2::Magick_Image_blur_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:14:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blur_overloads_0_2, blur, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_blur_overloads_0_2::Magick_Image_blur_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:14:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blur_overloads_0_2, blur, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_blurChannel_overloads_1_3::Magick_Image_blurChannel_overloads_1_3(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:15:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blurChannel_overloads_1_3, blurChannel, 1, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_blurChannel_overloads_1_3::Magick_Image_blurChannel_overloads_1_3(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:15:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blurChannel_overloads_1_3, blurChannel, 1, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_border_overloads_0_1::Magick_Image_border_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:16:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_border_overloads_0_1, border, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_border_overloads_0_1::Magick_Image_border_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:16:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_border_overloads_0_1, border, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_charcoal_overloads_0_2::Magick_Image_charcoal_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_charcoal_overloads_0_2, charcoal, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_charcoal_overloads_0_2::Magick_Image_charcoal_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_charcoal_overloads_0_2, charcoal, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_composite_overloads_3_4::Magick_Image_composite_overloads_3_4(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:18:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_composite_overloads_3_4, composite, 3, 4) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_composite_overloads_3_4::Magick_Image_composite_overloads_3_4(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:18:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_composite_overloads_3_4, composite, 3, 4) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_composite_overloads_2_3::Magick_Image_composite_overloads_2_3(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:19:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_composite_overloads_2_3, composite, 2, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_composite_overloads_2_3::Magick_Image_composite_overloads_2_3(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:19:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_composite_overloads_2_3, composite, 2, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_edge_overloads_0_1::Magick_Image_edge_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:20:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_edge_overloads_0_1, edge, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_edge_overloads_0_1::Magick_Image_edge_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:20:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_edge_overloads_0_1, edge, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_emboss_overloads_0_2::Magick_Image_emboss_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:21:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_emboss_overloads_0_2, emboss, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_emboss_overloads_0_2::Magick_Image_emboss_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:21:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_emboss_overloads_0_2, emboss, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_frame_overloads_0_1::Magick_Image_frame_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:22:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_frame_overloads_0_1, frame, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_frame_overloads_0_1::Magick_Image_frame_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:22:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_frame_overloads_0_1, frame, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_frame_overloads_2_4::Magick_Image_frame_overloads_2_4(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:23:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_frame_overloads_2_4, frame, 2, 4) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_frame_overloads_2_4::Magick_Image_frame_overloads_2_4(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:23:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_frame_overloads_2_4, frame, 2, 4) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_map_overloads_1_2::Magick_Image_map_overloads_1_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:24:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_map_overloads_1_2, map, 1, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_map_overloads_1_2::Magick_Image_map_overloads_1_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:24:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_map_overloads_1_2, map, 1, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_medianFilter_overloads_0_1::Magick_Image_medianFilter_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:25:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_medianFilter_overloads_0_1, medianFilter, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_medianFilter_overloads_0_1::Magick_Image_medianFilter_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:25:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_medianFilter_overloads_0_1, medianFilter, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_negate_overloads_0_1::Magick_Image_negate_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:26:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_negate_overloads_0_1, negate, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_negate_overloads_0_1::Magick_Image_negate_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:26:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_negate_overloads_0_1, negate, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_oilPaint_overloads_0_1::Magick_Image_oilPaint_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:27:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_oilPaint_overloads_0_1, oilPaint, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_oilPaint_overloads_0_1::Magick_Image_oilPaint_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:27:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_oilPaint_overloads_0_1, oilPaint, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_quantize_overloads_0_1::Magick_Image_quantize_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:28:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_quantize_overloads_0_1, quantize, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_quantize_overloads_0_1::Magick_Image_quantize_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:28:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_quantize_overloads_0_1, quantize, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_raise_overloads_0_2::Magick_Image_raise_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:29:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_raise_overloads_0_2, raise, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_raise_overloads_0_2::Magick_Image_raise_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:29:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_raise_overloads_0_2, raise, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_segment_overloads_0_2::Magick_Image_segment_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:30:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_segment_overloads_0_2, segment, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_segment_overloads_0_2::Magick_Image_segment_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:30:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_segment_overloads_0_2, segment, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_shade_overloads_0_3::Magick_Image_shade_overloads_0_3(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:31:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_shade_overloads_0_3, shade, 0, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_shade_overloads_0_3::Magick_Image_shade_overloads_0_3(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:31:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_shade_overloads_0_3, shade, 0, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_sharpen_overloads_0_2::Magick_Image_sharpen_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:32:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_sharpen_overloads_0_2, sharpen, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_sharpen_overloads_0_2::Magick_Image_sharpen_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:32:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_sharpen_overloads_0_2, sharpen, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_sharpenChannel_overloads_1_3::Magick_Image_sharpenChannel_overloads_1_3(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:33:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_sharpenChannel_overloads_1_3, sharpenChannel, 1, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_sharpenChannel_overloads_1_3::Magick_Image_sharpenChannel_overloads_1_3(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:33:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_sharpenChannel_overloads_1_3, sharpenChannel, 1, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_solarize_overloads_0_1::Magick_Image_solarize_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:34:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_solarize_overloads_0_1, solarize, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_solarize_overloads_0_1::Magick_Image_solarize_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:34:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_solarize_overloads_0_1, solarize, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_spread_overloads_0_1::Magick_Image_spread_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:35:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_spread_overloads_0_1, spread, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_spread_overloads_0_1::Magick_Image_spread_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:35:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_spread_overloads_0_1, spread, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_wave_overloads_0_2::Magick_Image_wave_overloads_0_2(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:36:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_wave_overloads_0_2, wave, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_wave_overloads_0_2::Magick_Image_wave_overloads_0_2(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:36:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_wave_overloads_0_2, wave, 0, 2) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_signature_overloads_0_1::Magick_Image_signature_overloads_0_1(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:37:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_signature_overloads_0_1, signature, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_signature_overloads_0_1::Magick_Image_signature_overloads_0_1(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:37:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_signature_overloads_0_1, signature, 0, 1) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_adaptiveThreshold_overloads_2_3::Magick_Image_adaptiveThreshold_overloads_2_3(const char, const boost::python::detail::keywords&)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:216:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:39:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_adaptiveThreshold_overloads_2_3, adaptiveThreshold, 2, 3) ^ _Image.cpp: In constructor ‘{anonymous}::Magick_Image_adaptiveThreshold_overloads_2_3::Magick_Image_adaptiveThreshold_overloads_2_3(const boost::python::detail::keywords&, const char)’: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:225:46: warning: typedef ‘assertion’ locally defined but not used [-Wunused-local-typedefs] N,n_args>::too_many_keywords assertion; \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:276:9: note: in expansion of macro ‘BOOST_PYTHON_OVERLOAD_CONSTRUCTORS’ BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts) \ ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/detail/defaults_gen.hpp:375:5: note: in expansion of macro ‘BOOST_PYTHON_GEN_MEM_FUNCTION_STUB’ BOOST_PYTHON_GEN_MEM_FUNCTION_STUB( \ ^ _Image.cpp:39:1: note: in expansion of macro ‘BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS’ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_adaptiveThreshold_overloads_2_3, adaptiveThreshold, 2, 3) ^ _Image.cpp: In function ‘void __Image()’: Image.cpp:102:116: error: no matching function for call to ‘boost::python::class::def(const char [18], , {anonymous}::Magick_Image_adaptiveThreshold_overloads_2_3)’ .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ _Image.cpp:102:116: note: candidates are: In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:223:11: note: template boost::python::class<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const boost::python::def_visitor&) [with Derived = Derived; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified] self& def(def_visitor const& visitor) ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:223:11: note: template argument deduction/substitution failed: _Image.cpp:102:116: note: mismatched types ‘const boost::python::def_visitor’ and ‘const char [18]’ .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:233:11: note: template boost::python::class<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const char, F) [with F = F; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified] self& def(char const name, F f) ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:233:11: note: template argument deduction/substitution failed: _Image.cpp:102:116: note: candidate expects 2 arguments, 3 provided .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:242:11: note: template<class A1, class A2> boost::python::class<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const char, A1, const A2&) [with A1 = A1; A2 = A2; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified] self& def(char const name, A1 a1, A2 const& a2) ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:242:11: note: template argument deduction/substitution failed: _Image.cpp:102:116: note: couldn't deduce template parameter ‘A1’ .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:249:11: note: template<class Fn, class A1, class A2> boost::python::class<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const char, Fn, const A1&, const A2&) [with Fn = Fn; A1 = A1; A2 = A2; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified] self& def(char const name, Fn fn, A1 const& a1, A2 const& a2) ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:249:11: note: template argument deduction/substitution failed: _Image.cpp:102:116: note: candidate expects 4 arguments, 3 provided .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ In file included from /cm/shared/apps/boost/gcc/1.61.0/include/boost/python.hpp:18:0, from Image.cpp:1: /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:265:11: note: template<class Fn, class A1, class A2, class A3> boost::python::class<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const char, Fn, const A1&, const A2&, const A3&) [with Fn = Fn; A1 = A1; A2 = A2; A3 = A3; W = Magick::Image; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified] self& def(char const* name, Fn fn, A1 const& a1, A2 const& a2, A3 const& a3) ^ /cm/shared/apps/boost/gcc/1.61.0/include/boost/python/class.hpp:265:11: note: template argument deduction/substitution failed: _Image.cpp:102:116: note: candidate expects 5 arguments, 3 provided .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3()) ^ make: *** [_Image.o] Error 1

` Other *cpp files are compiled except the _Image.cpp.

I tried gcc 5.4.0 /4.8.0, boost 1.54/1.61, no luck. It seems that it was reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835722 but no obvious resolution is provided. Please help. Thanks

komackaj commented 6 years ago

Hi, we don't support Boost in custom directories - only in system ones - right now - but it should be easy to provide this functionality. IMHO it should be enough to alter setup.py

  • to accept includes add following code after line 13 (where include_dirs is defined)
    if 'BOOST_INC' in os.environ:
    include_dirs.append(os.environ['BOOST_INC'])
  • to link to correct boost library, either have boost libraries in one of search_library_dirs (see Ln 18 of setup.py and Ln 125-143 to see how the boost_python library name is detected) or accept library_dirs (Ln 14) and libraries (Ln 145) from env similar to include_dirs
  • run python setup.py install

as for compiling from source you probably want to pass -DPGMAGICK_LIB_GRAPHICSMAGICK* defines (see compiler output from Pip case) to support newer methods and signatures. As a side-effect this should solve the problem with adaptiveThreshold

vigo332 commented 6 years ago

Hi, @komackaj

Thanks very much for the heads-up. I am able to compile from source using the following modified Makefile.

1 CC = g++ 2 FLAGS = -Wall 3 INCS = -I$(PYTHONPATH)/../include/python2.7 -I$(MAGICK_HOME)/include/GraphicsMagick -I$(BOOST_INC) 4 5 SO = _pgmagick.so 6 LIBS = -lboost_python -lGraphicsMagick -L$(MAGICK_HOME)/lib -L$(BOOST_LIB) 7 LINK_FLAGS = -fPIC -shared 8 CPPFLAGS =-DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_26 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_24 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_22 -DPGMAGICK_LIB_GRAPHICSMAGI CK_1_3_20 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_19 -DPGMAGICK_LIB_GRAPHICSMAGICK_1_3_6 -DPGMAGICK_LIB_GRAPHICSMAGICK _1_3_x

124 $(SO): $(OBJS) 125 $(CC) $(CPPFLAGS) $(LIBS) $(LINK_FLAGS) -o $(SO) $^ 126 127 .cpp.o: 128 $(CC) $(CPPFLAGS) $(FLAGS) $(INCS) $(LINK_FLAGS) -o $@ -c $< 129 130 clean: 131 rm -rf $(OBJS) $(SO)