Hi,

on Solaris I get a warning in this situation:

class A
{
private:
  foo( int );
};

class B : public A
{
private:
  foo();  // <- warning: hidden A::foo( int )
};

This appears strange to me, how can I hide a private function of the base class, it should be hidden anyway. Is this a false alarm of the compiler, or did I miss something?

-Bjoern

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to