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: Luke the Hiesterman <email@hidden>
- Date: Wed, 2 Sep 2009 17:26:02 -0700
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:
@apple.com
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