[Issue 3143] New: -deps produces empty file using D1
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 6 20:02:53 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3143
Summary: -deps produces empty file using D1
Product: D
Version: 1.046
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: ddparnell at bigpond.com
Given the three files below and compiling with the DMD command line ...
dmd test.d mod1.d mod2.d -o- -deps=test.deps
when using DMD V1, the test.deps file is created but is empty.
when using DMD V2, the test.deps file is created and contains the expected
data.
----------------
// main.d
import std.stdio;
import mod1: foo;
void main() {
writefln("%d\n", foo(10));
}
----------------
// mod1.d
import mod2: bar;
int foo(int x) { return bar(x) + bar(x); }
----------------
// mod2.d
int bar(int x) { return x * x; }
----------------
--
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