PythonMagick 0.7 build error

I encountered an error when i build the PythonMagick 0.7 in OpenSUSE 10.3.
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);

It is too hard to understand this code, isn't it?


이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by choipd

2008/07/03 16:03 2008/07/03 16:03
,
Response
No Trackback , 2 Comments
RSS :
http://choipd.net/tc/rss/response/24

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다

Comments List

  1. hawkgao 2008/11/12 02:14 # M/D Reply Permalink

    i also meet that problem. did you get solution for this?

  2. hawkgao 2008/11/12 02:15 # M/D Reply Permalink

    if you get, please tell me gaohawk@gmail.com. thanks a lot!

Leave a comment
[Login][OpenID?]
« Previous : 1 : ... 4 : 5 : 6 : 7 : 8 : 9 : 10 : 11 : 12 : ... 26 : Next »

블로그 이미지

Life is too short to be complex. Choipd! Simplify your life to serve your neighborhood. I am a software engineer in beautiful city Seoul, Korea. I just leave my trace of life in this blog.

- choipd

Archives

Calendar

«   2010/09   »
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Site Stats

Total hits:
54782
Today:
22
Yesterday:
45