Re: [C++-sig] Problems with virtualness and py++

2009-09-22 Thread Pertti Kellomäki
Roman Yakovenko wrote: I hope it is fixed now: http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1759&view=rev A new test case was added. Yes, this fixed it, thanks. I have some more problems but I'll take them to the pygccxml-development list. -- Pertti ___

Re: [C++-sig] Problems with virtualness and py++

2009-09-21 Thread Roman Yakovenko
On Mon, Sep 21, 2009 at 1:21 PM, Roman Yakovenko wrote: >> There is a small snag still: >> >> virtual_const_bindings.cpp:27: virhe: ”result” declared as reference >> but not initialized >> >> This comes from the following piece of code: >> >>    static boost::python::object default_h( ::B & inst,

Re: [C++-sig] Problems with virtualness and py++

2009-09-21 Thread Roman Yakovenko
2009/9/21 Pertti Kellomäki : > Hi Roman, > >> Can you try revision: >> http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1757&view=rev ? >> >> I believe the bug is fixed and new issues were not introduced :-) > > There is a small snag still: > > virtual_const_bindings.cpp:27: virhe: ”result” declar

Re: [C++-sig] Problems with virtualness and py++

2009-09-20 Thread Pertti Kellomäki
Hi Roman, Can you try revision: http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1757&view=rev ? I believe the bug is fixed and new issues were not introduced :-) There is a small snag still: virtual_const_bindings.cpp:27: virhe: ”result” declared as reference but not initialized This come

Re: [C++-sig] Problems with virtualness and py++

2009-09-19 Thread Roman Yakovenko
> On 9/18/09, Pertti Kellomäki wrote: >> I made some progress with the removing constness issue, >> but now I'm having problems that seem to be related to >> some kind of interaction between virtualness, function >> transformation and return value policies. >> >> The attached .hh and .pypp files i

Re: [C++-sig] Problems with virtualness and py++

2009-09-18 Thread Roman Yakovenko
I will take a look on both problems this evening P.S. I am celebrating new year :-) On 9/18/09, Pertti Kellomäki wrote: > I made some progress with the removing constness issue, > but now I'm having problems that seem to be related to > some kind of interaction between virtualness, function > tra

[C++-sig] Problems with virtualness and py++

2009-09-18 Thread Pertti Kellomäki
I made some progress with the removing constness issue, but now I'm having problems that seem to be related to some kind of interaction between virtualness, function transformation and return value policies. The attached .hh and .pypp files illustrate the problem. The transformation is applied co