On Oct 12, 2011, at 10:11 AM, Dmitry Timoshkov wrote:

> Jerome Leclanche <adys...@gmail.com> wrote:
> 
>> It would be nice to fix the "array subscript is above array bounds"
>> warning spam for 1.4.0. They make up 90% of the warnings.
> 
> The compiler is misguided, you can safely ignore those warnings.

My understanding is that accessing element n or greater in an array[n] is 
undefined behavior, but declaring a huge array and allocating only part of it 
is valid.

Josh




Reply via email to