www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

DMDScript - DMD opcodes.d errors

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