Why is object.d in the ldc directory ?
Marco Leise via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Apr 19 12:55:01 PDT 2016
Am Sun, 17 Apr 2016 15:27:41 +0100
schrieb David Nadlinger via digitalmars-d-ldc
<digitalmars-d-ldc at puremagic.com>:
> On 15 Apr 2016, at 23:15, Marco Leise via digitalmars-d-ldc wrote:
> > object.d in the ldc directory causes a problem when starting
> > up dcd, which expects to find it at the top level.
> > An additional import path can be added to dcd's configuration,
> > but I figured I'd first ask if it could be moved one level up.
>
> Since a mismatching object.d causes rather ungraceful failures, this was
> done originally to avoid conflicts with other compilers if users were to
> unwittingly install them in the same prefix. Of course, since we
> (unfortunately) have a small set of patches to druntime/Phobos, it would
> still not be advisable to do so even with .object out of the picture.
>
> I would suppose that adding the other path is the better option right
> now – even if we were to condense the two import directories back into
> one, you'd have to wait a year or so unless you can be reasonably
> certain that the change has percolated to user machines.
>
> — David
So it was done under the assumption that these two compilers
installed in the same prefix share the same Phobos version.
Oh well, ok. :)
--
Marco
More information about the digitalmars-d-ldc
mailing list