Re: Hidden Overloaded C++ Virtual Function
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