[Issue 4567] New: dmd should print the dmd.conf and env vars it's using when it fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 1 17:45:49 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4567
Summary: dmd should print the dmd.conf and env vars it's using
when it fails
Product: D
Version: D2
Platform: Other
OS/Version: Mac OS X
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: jyasskin at gmail.com
--- Comment #0 from Jeffrey Yasskin <jyasskin at gmail.com> 2010-08-01 17:45:47 PDT ---
I accidentally had a dmd.conf sitting in my ~/tmp directory, which produced
this really confusing interaction:
~/src$ /usr/local/bin/dmd d-grep/main.d -ofgrep -w -wi -g
d-grep/main.d(2): Error: module blah is in file 'blah.d' which cannot be read
import path[0] = /usr/local/bin/../share/dmd2/phobos
import path[1] = /usr/local/bin/../share/dmd2/druntime/import
~/src$ cd ~/tmp
~/tmp$ /usr/local/bin/dmd ~/src/d-grep/main.d -ofgrep -w -wi -g
object.d: Error: module object is in file 'object.d' which cannot be read
import path[0] = ./../share/dmd2/phobos
import path[1] = ./../share/dmd2/druntime/import
If dmd had printed that it was using different dmd.conf files for each run, I'd
have found the problem much faster.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list