Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.
Stefanos Baziotis
sdi1600105 at di.uoa.gr
Tue Aug 6 11:45:50 UTC 2019
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
More information about the D.gnu
mailing list