DMDScript - DMD opcodes.d errors
- Trevor Parscal (56/56) Jan 27 2006 I tried downloading and compiling DMDScript..
I tried downloading and compiling DMDScript.. my test app looked like this.. ///////////////////////////////////////////////// module Test.Test; private { import std.stdio; import dmdscript.script; pragma (lib, "Libraries\\DMDScript.lib"); } int main(char[][] args) { writefln("Hello World"); return 0; } ///////////////////////////////////////////////// and it compiled something like this... (using DMD 0.144 on Windows XP) ------------------------------------------------------------------------------- Compiling... Source\dmdscript\opcodes.d(414): no property 'allocdim' for type 'Dobject[]' Source\dmdscript\opcodes.d(418): undefined identifier mem Source\dmdscript\opcodes.d(418): undefined identifier mem Source\dmdscript\opcodes.d(418): no property 'malloc' for type 'int' Source\dmdscript\opcodes.d(418): function expected before (), not 1 of type int Source\dmdscript\opcodes.d(419): undefined identifier mem Source\dmdscript\opcodes.d(419): undefined identifier mem Source\dmdscript\opcodes.d(419): no property 'malloc' for type 'int' Source\dmdscript\opcodes.d(419): function expected before (), not 1 of type int Source\dmdscript\opcodes.d(421): no property 'data' for type 'Dobject[]' Source\dmdscript\opcodes.d(421): function std.string.memcpy (void*,void*,uint) d oes not match argument types (void**,int,uint) Source\dmdscript\opcodes.d(421): cannot implicitly convert expression (1) of typ e int to void* Source\dmdscript\opcodes.d(422): no property 'data' for type 'Dobject[]' Source\dmdscript\opcodes.d(422): function std.string.memcpy (void*,void*,uint) d oes not match argument types (void**,int,uint) Source\dmdscript\opcodes.d(422): cannot implicitly convert expression (1) of typ e int to void* Source\dmdscript\opcodes.d(451): no property 'allocdim' for type 'Dobject[]' Source\dmdscript\opcodes.d(452): no property 'data' for type 'Dobject[]' Source\dmdscript\opcodes.d(452): function std.string.memcmp (void*,void*,uint) d oes not match argument types (void**,int,uint) Source\dmdscript\opcodes.d(452): cannot implicitly convert expression (1) of typ e int to void* Source\dmdscript\opcodes.d(453): no property 'data' for type 'Dobject[]' Source\dmdscript\opcodes.d(453): function std.string.memcmp (void*,void*,uint) d oes not match argument types (void**,int,uint) Source\dmdscript\opcodes.d(453): cannot implicitly convert expression (1) of typ e int to void* Source\dmdscript\irstate.d(195): function expected before (), not va_arg!(uint) of type void Press any key to continue . . . ------------------------------------------------------------------------------- Any clue as to why this is? Thanks, Trevor Parscal
Jan 27 2006