On Wednesday, 7 November 2012 at 10:24:25 UTC, Benjamin Thaut
wrote:
For example: Exporting the Module init symbol is not supported,
so every module that only exists in a dll will generate a
linker error. Also I had some cases where even the vtable
symbol did not get exported (despite the that the class was
declared as export) and caused yet another linker error. Also
there are quite some issues with thread local storage and data
symbols are not supported at all by dmd. The only thing that
truly works is exporting C-Style functions or COM.
Actually, when making DLLs with GDC, the module init is
automatically exported.