• 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
Re: A CFStringRef that throws EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A CFStringRef that throws EXC_BAD_ACCESS


  • Subject: Re: A CFStringRef that throws EXC_BAD_ACCESS
  • From: Chris Ridd <email@hidden>
  • Date: Thu, 17 Oct 2002 13:55:34 +0100

On 17/10/02 11:48 am, Craig Bakalian <email@hidden> wrote:
> But, why did the compiler let me do the first one without telling me it
> needed a return value?

Because typically (historically?) C lets you throw away function results.
There may be a flag for gcc which warns you if you do that, though to be
honest I couldn't see one in the man pages.

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: A CFStringRef that throws EXC_BAD_ACCESS (From: Craig Bakalian <email@hidden>)

  • Prev by Date: Table View and Tool Tips
  • Next by Date: Re: Background threads
  • Previous by thread: Re: A CFStringRef that throws EXC_BAD_ACCESS
  • Next by thread: erase then draw image?
  • Index(es):
    • Date
    • Thread