[Issue 11164] New: wrong dependencies generated when compiling with -main
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 3 11:57:19 PDT 2013
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: nobody at puremagic.com
ReportedBy: r.sagitario at gmx.de
--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 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: -------
More information about the Digitalmars-d-bugs
mailing list