[Issue 3062] -run compiler switch ignores -I option

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 11 06:30:51 PDT 2009


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


Frits van Bommel <fvbommel at wxs.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fvbommel at wxs.nl
         Resolution|                            |INVALID




--- Comment #1 from Frits van Bommel <fvbommel at wxs.nl>  2009-06-11 06:30:51 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list