[Issue 18774] meta used in .di files causes link errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 18 02:08:30 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18774

--- Comment #5 from Manu <turkeyman at gmail.com> ---
> dmd -m64 main.d

Emits:

  main.obj : error LNK2019: unresolved external symbol _D4test9test_funcFiiZv
referenced in function _Dmain  (expected)
  main.obj : error LNK2001: unresolved external symbol
_D3std5range__T3ZipTAAyaTQfZQn6__initZ                (WTF?)


I think you've missed my point, there is NO REFERENCE to Zip!().init in main.d,
at least, there shouldn't be... so why the link error?
Where is the reference coming from?

--


More information about the Digitalmars-d-bugs mailing list