now I need -allinst when dmd compiles the unittest

kdevel kdevel at vogtner.de
Fri Dec 1 22:00:52 UTC 2023


If I not use -allinst the linker complains when using the current 
msgpack-d v1.0.5, e.g.

[...]msgpack-d/src/msgpack/package.d:203: undefined reference to 
`pure nothrow @nogc @safe immutable(char)[] 
core.internal.dassert._d_assert_fail!(int)._d_assert_fail!(int)._d_assert_fail(scope const(immutable(char)[]), scope ref const(int), scope ref const(int))'

[...]msgpack-d/src/msgpack/packer.d:1326: undefined reference to 
`pure nothrow @nogc @safe immutable(char)[] 
core.internal.dassert._d_assert_fail!(const(int))._d_assert_fail!(int)._d_assert_fail(scope const(immutable(char)[]), scope ref const(int), scope const(int))'

[...]/msgpack-d/src/msgpack/unpacker.d:1505: undefined reference 
to `pure nothrow @nogc @safe immutable(char)[] 
core.internal.dassert._d_assert_fail!(int)._d_assert_fail!(int)._d_assert_fail(scope const(immutable(char)[]), scope ref const(int), scope ref const(int))'



More information about the Digitalmars-d-learn mailing list