dmd 1.041 and 2.026 releases

Don nospam at nospam.com
Thu Mar 5 07:54:53 PST 2009


Tomas Lindquist Olsen wrote:
> 2009/3/5 Walter Bright <newshound1 at digitalmars.com>:
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.041.zip
>>
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.026.zip
>>
> 
> Compiling on linux from source is broken! Looks like you forgot to
> include the total.h file!
> -Tomas
On Windows, it compiles, but I can't get it to link. The errors are all 
related to malloc-family functions.

------------
rmem.obj(rmem)  Offset 00111H Record Type 0091
  Error 1: Previous Definition Different : ?strdup at Mem@@QAEPADPBD at Z 
(char *syscall Mem::strdup(char const *))

--- and so on for the other Mem functions, all from rmem.obj.

tk.obj(tk)
  Error 42: Symbol Undefined ?mem_free@@YAXPAX at Z (void cdecl 
mem_free(void *))

-- and so on, all the malloc functions from tk.obj.

e2ir.obj(e2ir)
  Error 42: Symbol Undefined ?mem_fcalloc@@YAPAXI at Z (void *cdecl 
mem_fcalloc(unsi
gned ))
cgobj.obj(cgobj)
  Error 42: Symbol Undefined ?mem_realloc@@YAPAXPAXI at Z (void *cdecl 
mem_realloc(v
oid *,unsigned ))
-----------


More information about the Digitalmars-d-announce mailing list