Hello everyone,

I just installed GDC with sudo apt-get install gdc and I can't compile a simple hello world program. I get e.g. static foreach errors:

/usr/local/include/d/core/internal/hash.d:333:16: error: basic type expected, not foreach
         static foreach (i; 0 .. T.sizeof / size_t.sizeof)

Any idea? Before about a month I used to compile hundeds of lines but I don't remember how..

Thanks,
Stefanos

Reply via email to