Why is object.d in the ldc directory ?

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Apr 17 07:27:41 PDT 2016


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


More information about the digitalmars-d-ldc mailing list