D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 16533 - Cannot compile two file with same name
Summary: Cannot compile two file with same name
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Mac OS X
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 09:26 UTC by Nicholas Wilson
Modified: 2016-10-31 12:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nicholas Wilson 2016-09-24 09:26:21 UTC
DMDFE:

ldc2 ../a/bar.d ../b/bar.d
Error: module bar from file ../b/bar.d conflicts with another module bar from file ../a/bar.d


causes ldc to fail even with -oq (output module *.o's with their fully qualified name) switch, which is supposed to allow this.

It did work around about July.

see https://github.com/ldc-developers/ldc/issues/1781

this blocks having a sane layout for dcompute.
Comment 1 Martin Krejcirik 2016-10-17 23:11:02 UTC
Cannot reproduce with dmd, unless the module declaration is missing.