DMDScript
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 12 23:32:57 PDT 2014
On 07/11/2014 08:45 AM, Chris wrote:
> Tried to compile on linux, got this error message (I guess I can fix it):
>
> dmd -c textgen.d
> textgen.d(36): Error: cannot implicitly convert expression ("DMDScript
> fatal runtime error: ") of type string to char[]
Here is the relevant parts:
struct Msgtable
{
char[] name;
int value;
char[] ident;
}
Msgtable errtable[] =
[
{ "DMDScript fatal runtime error: ", 0,
"ERR_RUNTIME_PREFIX" },
// ...
]
DMDScript was probably written for D1 and has never been ported to more
recent D.
Ali
More information about the Digitalmars-d-learn
mailing list