[C++-sig] Pyste and different interface files

Nicodemus nicodemus at esss.com.br
Tue Apr 27 02:19:40 CEST 2004


Hi Franz, sorry for taking so long to respond,

Franz Kaiser wrote:

>Hi all,
>
>I've two classes. A base class and a derived class in two different pyste
>files. SOMETIMES I get an error message like "Derived::function return a
>pointer or reference, but no policy is specified", but the policy is
>specified in the pyste file of the base class. The pyste tutorial says to
>declare the other pyste file with Import("Base.pyste") but that doesn't
>work. The error message is the same. The strange thing is I tried this with
>many classes but the error just occurs sometimes.
>  
>

It sounds like a bug. Could you post a reproductible small case were the 
error ocurrs? No time to investigate this too much...

Regards,
Nicodemus.




More information about the Cplusplus-sig mailing list