Re: Methods with the same name but different return types
Re: Methods with the same name but different return types
- Subject: Re: Methods with the same name but different return types
- From: Jens Alfke <email@hidden>
- Date: Thu, 02 Jun 2011 11:25:50 -0700
On Jun 2, 2011, at 6:38 AM, Eyal Redler wrote:
> 1. Is there a way to detect ambiguous cases like this and get a warning. Maybe there is a third party tool or a methodology for this. I suspect that there are other such problems lurking in my code…
Yes, there’s definitely a warning for this; I get it sometimes. I don’t know its specific name, but in general IMHO you’re best off turning on the flag “-Wall” (i.e. nearly all warnings) and also checking “Treat warnings as errors”, and then fixing anything it complains about. This will save you a lot of time and debugging in the long run!
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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