www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9898] New: Make -deps switch without arguments print to stdout

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9898

           Summary: Make -deps switch without arguments print to stdout
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: andrej.mitrovich gmail.com
        ReportedBy: andrej.mitrovich gmail.com



07:32:50 PDT ---


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


Martin Nowak <code dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code dawg.eu



What should happen with other stdout output?

NB:
On unix you can use -deps=/dev/stdout.

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



10:54:06 PDT ---
I forgot to close this, I thought RDMD might need it but it's unnecessary since
it can just read from the deps file instead.

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


jfanatiker gmx.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jfanatiker gmx.at



I just implemented this. :-) This very moment.

The idea is to print to stdout everything dependency related, every line gets
prefixed just as -v output does. I have currently defined the following lines:

depsImport ... Same information that gets written to -deps=file
depsFile ... File imports
depsVersion ... What version() statements are in the module
depsDebug ... The same for debug()
depsLib ... Any library from pragma(lib)

So -deps=file would only remain for legacy reasons, -deps would be an
extensible replacement for everything dependency related.

I almost have a pull request ready.

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