'exp' vs 'std'? Forked: Vote for std.process
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Apr 15 10:03:07 PDT 2013
On 4/15/13, Timothee Cour <thelastmammoth at gmail.com> wrote:
>> How does that work if both modules are std.process? Wouldn't there be a
>> link error?
>
> There won't be a 'duplicate symbol definition', instead, dmd will find
> the first file on the import path that defines a module std.process.
Phobos comes as a prebuilt static library, which DMD uses. But Phobos
can't be built entirely as a static library if there are two modules
with the same name.
More information about the Digitalmars-d
mailing list