Thread overview
[Issue 1137] New: gdmd -op doesn't work with -o- and -H
Apr 13, 2007
d-bugmail
Apr 13, 2007
d-bugmail
Apr 14, 2007
d-bugmail
Aug 22, 2007
d-bugmail
April 13, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1137

           Summary: gdmd -op doesn't work with -o- and -H
           Product: DGCC aka GDC
           Version: unspecified
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: afb@algonet.se


When generating "headers" only, gdmd doesn't move the .di file correctly. (it only moves .o files, such as when normally compiling object code...)

Thus, all the generated files end up flat in the output directory. (wrong)


-- 

April 13, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1137





------- Comment #1 from afb@algonet.se  2007-04-13 06:58 -------
Created an attachment (id=139)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=139&action=view)
gdmd-interface.patch

Suggested implementation. Doesn't work with the -fall-sources hack, though, as it will output all headers to each and every directory (more than one asked for)


-- 

April 14, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1137





------- Comment #2 from afb@algonet.se  2007-04-14 05:43 -------
Created an attachment (id=140)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=140&action=view)
gdmd-allheaders.patch

This is a follow-up/add-on to the previous patch, that adds -fall-sources support to -fintfc by applying liberal amounts of hacking and horrible workarounds... :-)


-- 

August 22, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1137


dvdfrdmn@users.sf.net changed:

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




------- Comment #3 from dvdfrdmn@users.sf.net  2007-08-21 19:22 -------
Fixed in svn r142 / release 0.24.

Thanks for the patch!  Made interface generation work with -fall-sources/-fonly so  the extra hacks would not be needed.


--