All pastes #225801 Raw Edit

ariannexp

public text v1 · immutable
#225801 ·published 2006-10-28 04:36 UTC
rendered paste body
./libFramework/arianne_wrap_python.cpp:1621:    General traits that provides type_name and type_info
./libFramework/arianne_wrap_python.cpp:1626:  inline const char* type_name() {
./libFramework/arianne_wrap_python.cpp:1627:    return traits<typename noconst_traits<Type >::noconst_type >::type_name();
./libFramework/arianne_wrap_python.cpp:1637:      static swig_type_info *info = type_query(type_name<Type>());
./libFramework/arianne_wrap_python.cpp:1657:    static const char* type_name() {
./libFramework/arianne_wrap_python.cpp:1658:      static std::string name = make_ptr_name(swig::type_name<Type>());
./libFramework/arianne_wrap_python.cpp:1718:    SWIG_type_error(type_name<Type>(), obj);
./libFramework/arianne_wrap_python.cpp:1778:      SWIG_type_error(swig::type_name<Type>(), obj);
./libFramework/arianne_wrap_python.cpp:1803:      SWIG_type_error(swig::type_name<Type>(), obj);
./libFramework/arianne_wrap_python.cpp:1821:      SWIG_type_error(swig::type_name<Type>(), obj);
./libFramework/arianne_wrap_python.cpp:1858:    static const char* type_name() { return"std::string"; }
./libFramework/arianne_wrap_python.cpp:1999:      SWIG_type_error(swig::type_name<T>(), item);
./libFramework/arianne_wrap_python.cpp:2192:        SWIG_type_error(swig::type_name<value_type>(), item);
./libFramework/arianne_wrap_python.cpp:2257:                   swig::type_name<sequence>());
./libFramework/arianne_wrap_python.cpp:2311:      static const char* type_name() {
./libFramework/arianne_wrap_python.cpp:2513:    static const char* type_name() { return"unsigned char"; }
./libFramework/arianne_wrap_python.cpp:2550:      static const char* type_name() {
./libFramework/arianne_wrap_python.cpp:2615:      static const char* type_name() { return"arianne::RPObject"; }
./libFramework/arianne_wrap_python.cpp:2623:      static const char* type_name() {
./libFramework/arianne_wrap_python.cpp:2721:      static const char* type_name() {
[nhawks@skami ariannexp]$
-----------------------------------------------------
Compile errors:
make[3]: Entering directory `/home/nhawks/Desktop/ariannexp/libFramework'
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -shared -I/usr/include/SDL -D_REENTRANT -I/usr/include/python2.4 -g -O2 -I/usr/include/SDL -D_REENTRANT -MT arianne_wrap_python.o -MD -MP -MF ".deps/arianne_wrap_python.Tpo" -c -o arianne_wrap_python.o arianne_wrap_python.cpp; \
then mv -f ".deps/arianne_wrap_python.Tpo" ".deps/arianne_wrap_python.Po"; else rm -f ".deps/arianne_wrap_python.Tpo"; exit 1; fi
arianne_wrap_python.cpp: In function ‘bool swig::check(PyObject*) [with Type = std::pair<unsigned int, arianne::RPObject>]’:
arianne_wrap_python.cpp:2188:   instantiated from ‘bool swig::PySequence_Cont<T>::check(bool) const [with T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2238:   instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >, T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2682:   instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*, std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = unsigned int, T = arianne::RPObject]’
arianne_wrap_python.cpp:1726:   instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >]’
arianne_wrap_python.cpp:5999:   instantiated from here
arianne_wrap_python.cpp:1850: error: no type named ‘category’ in ‘struct swig::traits<std::pair<unsigned int, arianne::RPObject> >’
arianne_wrap_python.cpp: In function ‘const char* swig::type_name() [with Type = std::pair<unsigned int, arianne::RPObject>]’:
arianne_wrap_python.cpp:2192:   instantiated from ‘bool swig::PySequence_Cont<T>::check(bool) const [with T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2238:   instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >, T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2682:   instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*, std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = unsigned int, T = arianne::RPObject]’
arianne_wrap_python.cpp:1726:   instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >]’
arianne_wrap_python.cpp:5999:   instantiated from here
arianne_wrap_python.cpp:1627: error: ‘type_name’ is not a member of ‘swig::traits<std::pair<unsigned int, arianne::RPObject> >’
arianne_wrap_python.cpp: In function ‘const char* swig::type_name() [with Type = unsigned int]’:
arianne_wrap_python.cpp:1637:   instantiated from ‘static swig_type_info* swig::traits_info<Type>::type_info() [with Type = unsigned int]’
arianne_wrap_python.cpp:1644:   instantiated from ‘swig_type_info* swig::type_info() [with Type = unsigned int]’
arianne_wrap_python.cpp:1678:   instantiated from ‘static PyObject* swig::traits_from_ptr<Type>::from(Type*, int) [with Type = unsigned int]’
arianne_wrap_python.cpp:1684:   instantiated from ‘static PyObject* swig::traits_from<Type>::from(const Type&) [with Type = unsigned int]’
arianne_wrap_python.cpp:1696:   instantiated from ‘PyObject* swig::from(const Type&) [with Type = unsigned int]’
arianne_wrap_python.cpp:2815:   instantiated from here
arianne_wrap_python.cpp:1627: error: ‘type_name’ is not a member of ‘swig::traits<unsigned int>’
arianne_wrap_python.cpp: In function ‘const char* swig::type_name() [with Type = std::pair<const unsigned int, arianne::RPObject>]’:
arianne_wrap_python.cpp:1637:   instantiated from ‘static swig_type_info* swig::traits_info<Type>::type_info() [with Type = std::pair<const unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:1644:   instantiated from ‘swig_type_info* swig::type_info() [with Type = std::pair<const unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:1678:   instantiated from ‘static PyObject* swig::traits_from_ptr<Type>::from(Type*, int) [with Type = std::pair<const unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:1684:   instantiated from ‘static PyObject* swig::traits_from<Type>::from(const Type&) [with Type = std::pair<const unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:1696:   instantiated from ‘PyObject* swig::from(const Type&) [with Type = std::pair<const unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2847:   instantiated from here
arianne_wrap_python.cpp:1627: error: ‘type_name’ is not a member of ‘swig::traits<std::pair<const unsigned int, arianne::RPObject> >’
arianne_wrap_python.cpp: In function ‘Type swig::as(PyObject*, bool) [with Type = std::pair<unsigned int, arianne::RPObject>]’:
arianne_wrap_python.cpp:1994:   instantiated from ‘swig::PySequence_Ref<T>::operator T() const [with T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2053:   instantiated from ‘swig::PySequence_ArrowProxy<T> swig::PySequence_Iter<T, Reference>::operator->() const [with T = std::pair<unsigned int, arianne::RPObject>, Reference = const swig::PySequence_Ref<std::pair<unsigned int, arianne::RPObject> >]’
arianne_wrap_python.cpp:2671:   instantiated from ‘void swig::assign(const PySeq&, std::map<K, T, std::less<K>, std::allocator<std::pair<const K, T> > >*) [with PySeq = swig::PySequence_Cont<std::pair<unsigned int, arianne::RPObject> >, K = unsigned int, T = arianne::RPObject]’
arianne_wrap_python.cpp:2234:   instantiated from ‘static int swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**) [with Seq = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >, T = std::pair<unsigned int, arianne::RPObject>]’
arianne_wrap_python.cpp:2682:   instantiated from ‘static int swig::traits_asptr<std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > > >::asptr(PyObject*, std::map<K, T, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >**) [with K = unsigned int, T = arianne::RPObject]’
arianne_wrap_python.cpp:1726:   instantiated from ‘int swig::asptr(PyObject*, Type**) [with Type = std::map<unsigned int, arianne::RPObject, std::less<unsigned int>, std::allocator<std::pair<const unsigned int, arianne::RPObject> > >]’
arianne_wrap_python.cpp:5999:   instantiated from here
arianne_wrap_python.cpp:1831: error: no type named ‘category’ in ‘struct swig::traits<std::pair<unsigned int, arianne::RPObject> >’
make[3]: *** [arianne_wrap_python.o] Error 1
make[3]: Leaving directory `/home/nhawks/Desktop/ariannexp/libFramework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nhawks/Desktop/ariannexp/libFramework'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nhawks/Desktop/ariannexp'
make: *** [all] Error 2