• 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
clang: no warning when failing to return a value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clang: no warning when failing to return a value


  • Subject: clang: no warning when failing to return a value
  • From: Rick Mann <email@hidden>
  • Date: Wed, 2 Sep 2009 17:23:04 -0700

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


  • Follow-Ups:
    • Re: clang: no warning when failing to return a value
      • From: Joar Wingfors <email@hidden>
    • Re: clang: no warning when failing to return a value
      • From: Luke the Hiesterman <email@hidden>
  • Prev by Date: Re: Any hope to get an updated Xcode IDE for Leopard?
  • Next by Date: Re: clang: no warning when failing to return a value
  • Previous by thread: Re: Xcode 2.5 vs. 3.2 (was: Re: Any hope to get an updated Xcode IDE for Leopard?)
  • Next by thread: Re: clang: no warning when failing to return a value
  • Index(es):
    • Date
    • Thread