[C++-sig] preliminary V2 feedback

Peter Bienstman peter.bienstman at rug.ac.be
Wed Feb 6 02:01:50 CET 2002


Hi,

This is some very preliminary feedback from trying to use the V2 preview
as a drop-in replacement for V1.

Using the intel compiler, I cannot compile any wrapper function that
returns a string:

 "../boost_cvs/boost/boost/python/detail/extension_class.hpp", line 393:
error: no instance of overloaded function
"boost::python::py_extension_class_converters" matches the argument list
            argument types are: (boost::python::type<std::string>)
      return
py_extension_class_converters(boost::python::type<T>()).to_python(x);

Also no luck with statements like

Expression_.def(operators<op_mul>(), right_operand<unsigned int>()

This gives the same error, in addition to

"../boost_cvs/boost/boost/python/detail/extension_class.hpp", line 393:
error: no instance of overloaded function
"boost::python::py_extension_class_converters" matches the argument list
            argument types are:
(boost::python::type<boost::python::tuple>)
      return
py_extension_class_converters(boost::python::type<T>()).to_python(x);


gcc compiles everthing without problems.

As far as linking is concerned, I will wait for the documentation,
because it seems I have to link with more than bpl.so...

Peter





More information about the Cplusplus-sig mailing list