[Bug c++/37112] nested inherited class can't access protected members of base class

2008-08-13 Thread darkwingz at yahoo dot com
--- Comment #2 from darkwingz at yahoo dot com 2008-08-13 15:57 --- Thanks for your reply. I think I would have seen this had I tried testing it without the nesting. I tried to compile the following code: class A { protected: int i; }; class B : public A { public: void foo(A

[Bug c++/37112] New: nested inherited class can't access protected members of base class

2008-08-13 Thread darkwingz at yahoo dot com
base class Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: darkwingz at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37112