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.
