The compiler refuses to call a protected constructor of a base class from a member function of a class derived from it. The compiler output is: tst.c: In method 'class B * Derived::bad()': tst.c:10: 'Base::Base(int)' is protected tst.c:21: within this context NOTE: how can I attach both the .c file and the .ii file through the GNATS interface? The selector allows me only one choice. Release: 2.95.3-5 (cygwin special) Environment: cygwin on win2000 How-To-Repeat: g++ tst.c
State-Changed-From-To: open->closed State-Changed-Why: not a bug. derived only has access to protected base members of the 'this' object. [11.2]/4 && [11.5]