digitalmars.D.bugs - [Issue 3062] New: -run compiler switch ignores -I option
- d-bugmail puremagic.com (22/24) Jun 11 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3062
- d-bugmail puremagic.com (16/16) Jun 11 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3062
http://d.puremagic.com/issues/show_bug.cgi?id=3062 Summary: -run compiler switch ignores -I option Product: D Version: 2.030 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: maxmo pochta.rudmd -run tmp.d -w -I..tmp.d(27): Error: module myutil cannot read file 'mylib\myutil.d' line 27: --- import mylib.myutil; ---dmd tmp.d -I.. -oftmp.exe -wthis works fine -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3062 Frits van Bommel <fvbommel wxs.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |fvbommel wxs.nl Resolution| |INVALID --- This is not a bug. -run is special in that it "eats" everything after it. The first argument afterwards is interpreted as a source file, the rest as arguments to pass to the program it compiles to (and are therefore not used by dmd itself). What you want to do is "dmd -W -I.. -run tmp.d". -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2009