Class inheritance bug

Tobias M. tobias.m at onlinehome.de
Thu Nov 10 15:45:56 PST 2011


Hi,
i first had this bug:
-------main.d-------
import std.socket;
class Foo : Address {
}
void main() {
}
-------END-------
that lead to several undefined symbols when linking.


But now i have this:
-------main.d-------
import core.thread;
class Foo : Thread {
}
void main() {
}
-------END-------
And i get an undefined symbol, again.

-------Compiler output-------
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dist\client.obj(client)
  Error 42: Symbol Undefined _D14ListenerThread12__ModuleInfoZ
--- errorlevel 1
-------END-------

I am running Windows7 32bit, DMD 2.056

So this is clearly a bug in my eyes, any opinions about that?


More information about the Digitalmars-d mailing list