Error: array dimension overflow

Brian Hay bhay at construct3d.com
Fri Mar 21 01:41:35 PDT 2008


Bill Baxter wrote:
> Brian Hay wrote:
>> Newbie Q:
>>
>> During compilation I'm getting the error: "array dimension overflow" 
>> but it doesn't provide any information as to where (module and line 
>> number) the error might be, so I'm at a loss. Other errors seem to 
>> provide such information.
>>
>> Any ideas?
> 
> I think there's a limit of 16K for the size of static arrays.
> Do you have any really big static arrays?

No. Nothing like that.

> Anyway, the compiler should generate a line number for that.  Not 
> providing one is a bug.

That's what I figured. It's kind of hard to track down the issue without 
such details.



More information about the Digitalmars-d-learn mailing list