Programming Language for Games, part 3
via Digitalmars-d
digitalmars-d at puremagic.com
Sat Nov 1 23:13:25 PDT 2014
On Sunday, 2 November 2014 at 01:43:32 UTC, Walter Bright wrote:
>> There are bounds-checking extensions to GCC.
>
> Yup, -fbounds-check, and it only works for local arrays. Once
> the array is passed to a function, poof! no more bounds
> checking.
No.
Please read the links.
There are solutions that do full checking by checking every
pointer access at runtime. And there are other solutions.
More information about the Digitalmars-d
mailing list