https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103177

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|incorrect error message for |incorrect error message for
                   |ambiguous lookup            |ambiguous lookup with a
                   |                            |static member function from
                   |                            |a private base

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So if I remove static from B::foo, the inaccessible error message is gone.

Reply via email to