When I try to build a library that uses tango.core.Array and use -inline with dmd I get the following error when I link that library to my program:
thelib.lib(lib)
Error 42: Symbol Undefined _D3lib33__T7IsEqualTC3lib13TestInterfaceZ7IsEqual6__initZ
I'll include a small example.
Comment #1 by MauriceG — 2008-08-01T12:47:04Z
Created attachment 264
lib.d
Comment #2 by MauriceG — 2008-08-01T12:47:29Z
Comment on attachment 264
lib.d
compile with "dmd -lib -ofthelib.lib -inline"
Comment #3 by MauriceG — 2008-08-01T12:49:03Z
Created attachment 265
hello.d
compile with "dmd hello.d -L+thelib.lib" to get the error message