Re: [C++-sig] Protected virtual Functions with default implementation

2009-03-23 Thread Roman Yakovenko
2009/3/19 Renato Araujo : > Hi guys, I'm working again in my bindings generation and I get a new > question about virtual functions. > > I would like to know how export protected virtual functions with > default implementation, because I didn't find any documentation about > this and the code gener

Re: [C++-sig] gcc flag -fvisibility=hidden not working with boost::python

2009-03-23 Thread Renato Araujo
For more details about the problem, I found the correct header witch give me this problem, and isolate that with this: #include # include # include #pragma GCC visibility push(default) #include #pragma GCC visibility pop #include BR Renato On Sun, Mar 22, 2009 at 12:36 PM, Renato Araujo

Re: [C++-sig] Protected virtual Functions with default implementation

2009-03-23 Thread Renato Araujo
Hi Roman The problem is that: How export this class? namespace geometry{ class point_t { public: point_t() {}; protected: virtual bool ret_bool() { return false; } }; class point_2 : public point_t { public: point_2() {}; }; } I put attached the Py++ genereted code and a small tes

Re: [C++-sig] Protected virtual Functions with default implementation

2009-03-23 Thread Roman Yakovenko
2009/3/23 Renato Araujo : > Hi Roman Good evening. > The problem is that: How export this class? > > namespace geometry{ > > class point_t > { > public: >    point_t() {}; > > protected: >    virtual bool ret_bool() { return false; } > }; > > } > > I put attached the Py++ genereted code and a sma