• 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: Crash when calling va_arg()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when calling va_arg()


  • Subject: Re: Crash when calling va_arg()
  • From: Greg Parker <email@hidden>
  • Date: Thu, 05 Jul 2012 10:48:44 -0700

On Jul 4, 2012, at 5:44 PM, Fritz Anderson <email@hidden> wrote:
> On 4 Jul 2012, at 7:40 PM, Charles Srstka wrote:
>> Neither method is much foolproof at all — both of them can easily be undermined by even low-level fools.
>
> … as witness the dozens of times a year I crash because I forgot to terminate an +arrayWithObjects: call, or the like.

The compiler will warn this. Turn on -Wformat if you don't have it already.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Crash when calling va_arg() (From: Tito Ciuro <email@hidden>)
 >Re: Crash when calling va_arg() (From: Fritz Anderson <email@hidden>)
 >Re: Crash when calling va_arg() (From: Tito Ciuro <email@hidden>)
 >Re: Crash when calling va_arg() (From: Charles Srstka <email@hidden>)
 >Re: Crash when calling va_arg() (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Stupid block syntax!
  • Next by Date: Re: Stupid block syntax!
  • Previous by thread: Re: Crash when calling va_arg()
  • Next by thread: Re: Crash when calling va_arg()
  • Index(es):
    • Date
    • Thread