[Issue 23154] Linker error through templated __traits(compiles) in separate compilation unit
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 13 20:45:05 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23154
--- Comment #4 from Jan Jurzitza <d.bugs at webfreak.org> ---
nvm, actually reproduces with ldc as well, so more likely a frontend bug:
ldc2 -main -c -unittest -I. foo.d -of foo.o
ldc2 -lib -ofprotocol.a protocol.d
dmd -oftestlib foo.o protocol.a
For some reason ldc generated extra objects which I accidentally used instead,
which were the wrong symbols and didn't cause this linker error.
--
More information about the Digitalmars-d-bugs
mailing list