long compile time 2.023 (few lines of code)
Saaa
empty at needmail.com
Sat Jan 24 01:26:08 PST 2009
Lol I didn't even check that.
Probably because it does compile (and gives a stack overflow at runtime)
when you put the allocation within the main.
So it still looks like a bug. The compiling should not hang.
>
> From http://www.digitalmars.com/d/1.0/arrays.html :
>
> "The total size of a static array cannot exceed 16Mb. A dynamic array
> should be used instead for such large arrays."
>
> It's an optlink limitation, so it's not likely to get fixed either.
More information about the Digitalmars-d-learn
mailing list