www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11164] New: wrong dependencies generated when compiling with -main

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: r.sagitario gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario 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: -------
Oct 03 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11164


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2013-10-03 23:53:00
PDT ---
https://github.com/D-Programming-Language/dmd/pull/2626

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 03 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11164



--- Comment #2 from github-bugzilla puremagic.com 2013-10-04 04:12:30 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/3e1a00951baed32c81a0e13e8d50901603a737ad
Merge pull request #2626 from rainers/issue11164

fix issue 11164: do not output __main.d as dependency

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 04 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11164


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 04 2013