The error message is like this;
/usr/include/boost/python/converter/registered.hpp:88: error: no matching function for call to 'registry_lookup(const volatile void (*)())
it seems registered.hpp has problem. I update the boost to new. Then the error has disappeared.Here is the diff;
admin@linux-t5mw:/usr/include/boost/python/converter> diff registered.hpp registered.hpp.bak
12d11
< # include <boost/type_traits/is_void.hpp>
14,15d12
< # include <boost/python/type_id.hpp>
< # include <boost/type.hpp>
83,84c80,81
< inline registration const&
< registry_lookup2(T&(*)())
---
> registration const&
> registry_lookup(T&(*)())
91,106c88
< inline registration const&
< registry_lookup1(type<T>)
< {
< return registry_lookup2((T(*)())0);
< }
<
< inline registration const&
< registry_lookup1(type<const volatile void>)
< {
< detail::register_shared_ptr1((void*)0);
< return registry::lookup(type_id<void>());
< }
<
< template <class T>
< registration const& registered_base<T>::converters = detail::registry_lookup1(type<T>());
<
---
> registration const& registered_base<T>::converters = detail::registry_lookup((T(*)())0);
12d11
< # include <boost/type_traits/is_void.hpp>
14,15d12
< # include <boost/python/type_id.hpp>
< # include <boost/type.hpp>
83,84c80,81
< inline registration const&
< registry_lookup2(T&(*)())
---
> registration const&
> registry_lookup(T&(*)())
91,106c88
< inline registration const&
< registry_lookup1(type<T>)
< {
< return registry_lookup2((T(*)())0);
< }
<
< inline registration const&
< registry_lookup1(type<const volatile void>)
< {
< detail::register_shared_ptr1((void*)0);
< return registry::lookup(type_id<void>());
< }
<
< template <class T>
< registration const& registered_base<T>::converters = detail::registry_lookup1(type<T>());
<
---
> registration const& registered_base<T>::converters = detail::registry_lookup((T(*)())0);
It is too hard to understand this code, isn't it?
Posted by choipd


