Re: clang: no warning when failing to return a value
Re: clang: no warning when failing to return a value
- Subject: Re: clang: no warning when failing to return a value
- From: Dmitry Markman <email@hidden>
- Date: Wed, 02 Sep 2009 21:56:25 -0400
yes I saw that too
even analyzer didn't pick it up
On Sep 2, 2009, at 9:51 PM, Rick Mann wrote:
No joy. It reported a couple other warnings I have, but not that one.
On Sep 2, 2009, at 17:48:25, Luke the Hiesterman wrote:
Try a clean build or Build Results->All Results. If the relevant
file wasn't built in the last build, you won't see the warning.
Luke
On Sep 2, 2009, at 5:45 PM, Rick Mann wrote:
That's what I'm saying. I thought it should, but I'm not seeing a
warning.
On Sep 2, 2009, at 17:26:02, Luke the Hiesterman wrote:
Doesn't the compiler do that?
Luke
On Sep 2, 2009, at 5:23 PM, Rick Mann wrote:
I implemented this:
- (BOOL)
control: (NSControl*) inControl
textView:(NSTextView*) inTextView
doCommandBySelector: (SEL) inCommand
{
NSLog(@"FooSEL %s", sel_getName(inCommand));
}
And realized that clang is not warning me that I failed to
return a value. Shouldn't it?
--
Rick
_______________________________________________
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
_______________________________________________
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
Dmitry Markman
_______________________________________________
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