http://d.puremagic.com/issues/show_bug.cgi?id=4672
Summary: rdmd fails when -I is needed Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: cbkbbej...@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2010-08-18 01:54:34 PDT --- As discussed on the newsgroup: http://www.mail-archive.com/digitalmar...@puremagic.com/msg35755.html ----------------------------------------- $ cat src/app/main.d module app.main; import foo; void main(){} $ cat src/lib/foo.d module lib.foo; $ xfbuild -Isrc src/app/main.d Works ok $ rdmd -Isrc src/app/main.d dmd craps out because rdmd told it to compile "src/app/src/lib/foo.d" ----------------------------------------- A modified version of rdmd is attached which fixes the above AND ensures that the following still works correctly: ----------------------------------------- $ cat ../baz/main.d import a.b; void main(){} $ cat ../baz/a/b.d module a.b; $ rdmd ../baz/main.d ----------------------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------