On Tue, 27 Jan 2009 01:08:17 +0300, Saaa <em...@needmail.com> wrote:
Should I report this as a bug?
And, how do I do that :)
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.
I fill bugreports at http://d.puremagic.com/issues/
But not for this one, as it won't be fixed because of the said reason.