http://d.puremagic.com/issues/show_bug.cgi?id=11164
Summary: wrong dependencies generated when compiling with -main
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Rainer Schuetze <[email protected]> 2013-10-03 11:57:18
PDT ---
Compiling with both -main and -deps=file generates a dependency to __main.d:
> echo module a; >a.d
> dmd -deps=dep -main a.d
> type dep
a (a.d) : private : object
(c:\\l\\dmd2.063\\windows\\bin\\..\\..\\src\\druntime
\\import\\object.di)
__main (__main.d) : private : object
(c:\\l\\dmd2.063\\windows\\bin\\..\\..\\src
\\druntime\\import\\object.di)
This confuses build tools.
Very similar to issue 11117.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------