• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabling warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Disabling warnings (From: Steve Baxter <email@hidden>)

  • Prev by Date: Re: Disabling warnings
  • Next by Date: breakpoints in asm window
  • Previous by thread: Re: Disabling warnings
  • Next by thread: breakpoints in asm window
  • Index(es):
    • Date
    • Thread