On Thu, 10 Nov 2011 18:45:56 -0500, Tobias M. <[email protected]>
wrote:
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.
This is a bug in the compiler or phobos. It fails to link on Linux as
well.
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-------
This *appears* like you imported some module (named ListenerThread?) but
did not include it on the compile line.
Clearly the above code is not what produced this error. Please post
reduced code that generates a similar error, or post the original code.
-Steve