• 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: Hidden Overloaded C++ Virtual Function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hidden Overloaded C++ Virtual Function


  • Subject: Re: Hidden Overloaded C++ Virtual Function
  • From: David Fang <email@hidden>
  • Date: Wed, 4 Jan 2006 16:11:52 -0500 (EST)

> My problem is that I have two conflicting requirements:
>
> * I want to keep the current behavior: casting when appropriate,
> failing compilation when no casting can be done.
>
> * I don't want the warning about the hidden overloaded virtual function.
>
> Is there any way to disable the warning for this one class only? If
> it's not possible, fine, I would genuinely like to know :-)

Hi,
	To address your second concern: try passing
-Wno-overloaded-virtual to the CXXFLAGS (after, say, -Wall).

David Fang


 _______________________________________________
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: 
 >Re: Hidden Overloaded C++ Virtual Function (From: Philippe Casgrain <email@hidden>)

  • Prev by Date: Re: Xcode & Visual C++
  • Next by Date: Re: Xcode & Visual C++
  • Previous by thread: Re: Hidden Overloaded C++ Virtual Function
  • Next by thread: Relative paths for headers
  • Index(es):
    • Date
    • Thread