[Issue 20529] Cyclic dependency caused by import of core.time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 29 11:11:21 UTC 2020


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

--- Comment #5 from berni44 <bugzilla at d-ecke.de> ---
(In reply to RazvanN from comment #4)
> Try to rename the files to make sure that there isn't any name clash.

There is. It looks like std.datetime is taken from Phobos instead of the local
version. But I get a different error, when I remove the local std.datetime, so
it has to be included somewhere... When adding -defaultlib= to the calls of dmd
I get a linker error about not finding std.datetime.

Probably I made a mistake, when I reduced the output of dustmite any further.
There I checked out dmd, druntime, tools and phobos, run make on dmd, druntime
and tools and then used "make -f posix unittest" as a reduce command for
dustmite. This should use local dmd, local runtime and local phobos, shouldn't
it?

--


More information about the Digitalmars-d-bugs mailing list