[Issue 14768] Error: index 174762 overflow for static array
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jul 4 05:18:57 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14768
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #3 from ag0aep6g at gmail.com ---
(In reply to deadalnix from comment #2)
> First, this limitation is not in the spec so it is not expected that it is
> there (especially since it used to work). So it is expected to work (the
> limit is 16Mb, we are in 2015 we should be able to handle that much memory).
>
The 16MB limit is in the spec. 174762*32*4 bytes is more than 16MB.
> And even if we choose that this does not require fixing, the spec needs to
> be updated, and the error message as well.
>
> index 174762 overflow for static array does not mean anything. There is no
> array access, so how can an overflow occur ?
I agree that the error message is bad.
--
More information about the Digitalmars-d-bugs
mailing list