[Issue 18046] dmd -unittest doesn't work when linking against a shared library
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 9 00:30:21 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=18046
Timothee Cour <timothee.cour2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timothee.cour2 at gmail.com
--- Comment #1 from Timothee Cour <timothee.cour2 at gmail.com> ---
same with ldmd2:
ldmd2 -of=build//libfoo.dylib -shared -unittest foo.d
ldmd2 -unittest -ofbuild/./main -L-lfoo -L-Lbuild/ main2.d foo.d
build/./main
ldmd2 --version
LDC - the LLVM D compiler (1.6.0):
based on DMD v2.076.1 and LLVM 5.0.0
built with LDC - the LLVM D compiler (0.17.5)
--
More information about the Digitalmars-d-bugs
mailing list