[C++-sig] Pyste and STL types
Nicodemus
nicodemus at globalite.com.br
Wed Mar 19 00:58:14 CET 2003
David Abrahams wrote:
>Is this happening somewhere in the type traits code? Can you post an
>instantiation backtrace?
>
>
It seems to be. Here's the error message:
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(26)
: error C2569: 'Test' : enum/union cannot be used as a base class
D:\Temp\pyste-tests\boost.cpp(9) : see declaration of 'Test'
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(79)
: see reference to class template instantiation
'boost::detail::is_polymorphic_imp1<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(84)
: see reference to class template instantiation
'boost::detail::is_polymorphic_imp<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/inheritance.hpp(67)
: see reference to class template instantiation
'boost::is_polymorphic<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/inheritance.hpp(77)
: see reference to class template instantiation
'boost::python::objects::dynamic_id_generator<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/class_converters.hpp(77)
: see reference to function template instantiation 'void __cdecl
boost::python::objects::register_dynamic_id(union Test *)' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(34)
: error C2569: 'Test' : enum/union cannot be used as a base class
D:\Temp\pyste-tests\boost.cpp(9) : see declaration of 'Test'
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(79)
: see reference to class template instantiation
'boost::detail::is_polymorphic_imp1<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/type_traits/is_polymorphic.hpp(84)
: see reference to class template instantiation
'boost::detail::is_polymorphic_imp<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/inheritance.hpp(67)
: see reference to class template instantiation
'boost::is_polymorphic<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/inheritance.hpp(77)
: see reference to class template instantiation
'boost::python::objects::dynamic_id_generator<union Test>' being compiled
D:\Programming\Libraries\boost-cvs\boost\boost/python/object/class_converters.hpp(77)
: see reference to function template instantiation 'void __cdecl
boost::python::objects::register_dynamic_id(union Test *)' being compiled
Error executing xicl6.exe.
More information about the Cplusplus-sig
mailing list