http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41437

Shane <w.shane.grant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |w.shane.grant at gmail dot com

--- Comment #5 from Shane <w.shane.grant at gmail dot com> ---
This bug still exists for g++ 4.8.1.  Crops up regardless of where the template
function is that tries to access the protected/private member:

class Base { void snarf() {} };

struct Derived : public Base
{
  template <class T>
  void bar( T & t )
  {
    snarf(); // this is incorrectly marked ok
  }
};

Reply via email to