Re: Compiler problem?
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