• 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
Why don't I get "control reaches end of non-void function" warnings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why don't I get "control reaches end of non-void function" warnings?


  • Subject: Why don't I get "control reaches end of non-void function" warnings?
  • From: Jonathan del Strother <email@hidden>
  • Date: Sun, 27 Feb 2005 22:27:27 +0000

In my Cocoa projects, I never get any "control reaches end of non-void function" warnings, which has tripped me up many times as I invariably forget to return self at the end of my init procedures.

Why is this? Is there a compiler switch I can toggle to get those warnings back?

Thanks
Jon

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Why don't I get "control reaches end of non-void function" warnings?
      • From: daniel <email@hidden>
  • Prev by Date: NSController as controller instead of gateway
  • Next by Date: NSAttributedStrings and superscripts; scaling.
  • Previous by thread: NSController as controller instead of gateway
  • Next by thread: Re: Why don't I get "control reaches end of non-void function" warnings?
  • Index(es):
    • Date
    • Thread