Re: gcc-4.3.2(beta) - Invalid conversion to pointer to protected base class

2009-09-18 Thread Dave Korn
Dave Korn wrote: > Paul Bibbings wrote: >> The following code [ ... ] appears to be closely related to (if not >> duplicating) >> GCC Bugzilla Bug 35640 >> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35640). > > Yep, sure looks like it to me. I don't think I'll have time to look at this > be

Re: gcc-4.3.2(beta) - Invalid conversion to pointer to protected base class

2009-07-06 Thread Dave Korn
Paul Bibbings wrote: > The following code [ ... ] appears to be closely related to (if not > duplicating) > GCC Bugzilla Bug 35640 > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35640). Yep, sure looks like it to me. I don't think I'll have time to look at this before 4.3.3-1, but I'll try an

gcc-4.3.2(beta) - Invalid conversion to pointer to protected base class

2009-07-06 Thread Paul Bibbings
The following code compiles successfully using gcc-4.3.2 (Cygwin, gcc 4.3.2 20080827 (beta) 2) running under Windows Vista (Ver 6.0 Build 6002 Service Pack 2). // inaccessible_test.cpp class X { }; class Y : protected X { }; class Z : private X { public: void f(Y *); };