www.digitalmars.com         C & C++   DMDScript  

D - large bit arrays

reply "Pavel Minayev" <evilone omen.ru> writes:
D seems to dislike subj. For example:

    bit[0xffff] foo;

This hangs the compiler. On other hand, an array
of 1000 bits works just fine...
Feb 01 2002
parent reply "Pavel Minayev" <evilone omen.ru> writes:
It turns out to fail on arrays of any type (or so it seems?).
int[0xffff] doesn't work as well.
Feb 01 2002
parent "Walter" <walter digitalmars.com> writes:
"Pavel Minayev" <evilone omen.ru> wrote in message
news:a3egoi$10hl$1 digitaldaemon.com...
 It turns out to fail on arrays of any type (or so it seems?).
 int[0xffff] doesn't work as well.
You're right. Argh!
Feb 01 2002