• 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: Compiler problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler problem?


  • Subject: Re: Compiler problem?
  • From: Pontus Ilbring <email@hidden>
  • Date: Thu, 12 May 2005 21:50:30 +0200

Automatic bounds checking for arrays is not part of the C language. If
the compiler outputted code that did bounds checking then you would
have code that would work under one compiler but break under others.

The compiler can't reliably do bounds checking during compile time
either. It could do it for some cases, but not all, which would just
lull you into a false sense of security.

So always be careful when using arrays, because you are on your own.
 _______________________________________________
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

  • Prev by Date: Compiler problem?
  • Next by Date: Re: Why would a defined selector not be found at runtime?
  • Previous by thread: Re: Compiler problem?
  • Next by thread: NSManagedObjectContextObjectsDidChangeNotification
  • Index(es):
    • Date
    • Thread