Re: Disabling warnings
Re: Disabling warnings
- Subject: Re: Disabling warnings
- From: Lawrence Gold <email@hidden>
- Date: Thu, 7 Jul 2005 09:58:36 -0600
On Jul 7, 2005, at 9:11 AM, Steve Baxter wrote:
Finally, has anyone noticed that the hidden virtual function
warnings are a bit buggy (or maybe my understanding is wrong)? The
following code generates warnings, I don't think it should:
class A
{
public:
virtual void F();
virtual void F( int i );
};
class B : public A
{
public:
virtual void F();
};
This will generate these warnings:
warning: 'virtual void A::F(int)' was hidden
warning: by 'virtual void B::F()'
This does not look right to me - B::F() does not hide A::F(int)!
http://lists.apple.com/archives/Xcode-users/2005/May/msg00854.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden