[Issue 9826] import doesn't work with absolute paths

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 29 10:26:55 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9826



--- Comment #3 from Timothee Cour <timothee.cour2 at gmail.com> 2013-03-29 10:26:53 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > Which OS? I'm seeing the opposite effect:
> > 
> > dmd -J. main.d // works
> > dmd -J/ main.d // CT error
> 
> Mine using Win7.

OSX.
also, I actually meant compile with absolute path to main.d given to dmd:

dmd -J. /path/to/main.d //fails
dmd -J/ /path/to/main.d //works

so that __FILE__ is an absolute path

-- 
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