|
Boost : |
From: rwgk_at_[hidden]
Date: 2000-11-03 13:36:36
When trying to compile the latest py_cpp release (py_cpp_20001102.zip)
on the Alpha I get the error message which is attached below. I tried
using both boost 1.18.1 and the latest boost snapshot from the
sourceforge CVS tree. The error messages appear to be the same in
both cases.
Compilation and tests worked well with the previous py_cpp release.
What could be wrong?
Thanks!
Ralf
cxx -I/usr/local/STLport-4.1b3/stlport -D__USE_STD_IOSTREAM -
D__STL_NO_SGI_IOSTREAMS -D__STL_NO_NEW_C_HEADERS -
D_RWSTD_COMPILE_INSTANTIATE=1 -I/net/boa/scratch1/rwgk/boost -
I/usr/local/include/python1.5 -I.. -std strict_ansi -msg_disable
186,450,1115 -c extclass.cpp
cxx: Error: pyptr.h, line 81: a value of type "PyObject *" cannot be
used to
initialize an entity of type "py::Function *"
detected during:
instantiation of "py::PyPtr<T>::PyPtr(T2 *,
py::PyPtr<T>::NewRef)
[with T=py::Function, T2=PyObject]" at line 31
instantiation of class "py::PyPtrConversions<T, Base>
[with
T=py::PyPtr<py::Function>,
Base=boost::dereferenceable<py::PyPtr<py::Function>,
py::Function *, boost::detail::empty_base>]" at
line 42
of "functions.h"
: m_p(expect_non_null(x)) { Py_INCREF(object()); }
--------------^
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk