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[] textgen.d(36): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(36): Error: cannot implicitly convert expression ("ERR_RUNTIME_PREFIX") of type string to char[] textgen.d(37): Error: cannot implicitly convert expression ("No default value for COM object") of type string to char[] textgen.d(37): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(37): Error: cannot implicitly convert expression ("ERR_COM_NO_DEFAULT_VALUE") of type string to char[] textgen.d(38): Error: cannot implicitly convert expression ("%s does not have a [[Construct]] property") of type string to char[] textgen.d(38): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(38): Error: cannot implicitly convert expression ("ERR_COM_NO_CONSTRUCT_PROPERTY") of type string to char[] textgen.d(39): Error: cannot implicitly convert expression ("argument type mismatch for %s") of type string to char[] textgen.d(39): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(39): Error: cannot implicitly convert expression ("ERR_DISP_E_TYPEMISMATCH") of type string to char[] textgen.d(40): Error: cannot implicitly convert expression ("wrong number of arguments for %s") of type string to char[] textgen.d(40): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(40): Error: cannot implicitly convert expression ("ERR_DISP_E_BADPARAMCOUNT") of type string to char[] textgen.d(41): Error: cannot implicitly convert expression ("%s Invoke() fails with COM error %x") of type string to char[] textgen.d(41): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(41): Error: cannot implicitly convert expression ("ERR_COM_FUNCTION_ERROR") of type string to char[] textgen.d(42): Error: cannot implicitly convert expression ("Dcomobject: %s.%s fails with COM error %x") of type string to char[] textgen.d(42): Error: cannot implicitly convert expression (0) of type int to char[] textgen.d(42): Error: cannot implicitly convert expression ("ERR_COM_OBJECT_ERROR") of type string to char[]
linux.mak:178: recipe for target 'textgen.o' failed
make: *** [textgen.o] Error 1

Reply via email to