[C++-sig] ‘Base’ is an inaccessible base of ‘Derived’ ??

Anders Wallin anders.e.e.wallin at gmail.com
Sun Mar 14 21:28:11 CET 2010

Hi all,
I'm trying to expose a base-class with pure virtual functions, and a
derived class. Following the example here:

both in my real code, and in a minimal test-case, I get a long list of
errors which ends with:
/usr/include/boost/python/object/inheritance.hpp:99: error: ‘Base’ is
an inaccessible base of ‘Derived’

my minimal test-case is here:

This is on stock-standard Ubuntu, i.e. boost 1.38.0, g++ 4,4,1, and python 2.6.4

any ideas what is going on? is there working code for the
tutorial-documentation somewhere?



More information about the Cplusplus-sig mailing list