www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 1137] New: gdmd -op doesn't work with -o- and -H

reply d-bugmail puremagic.com writes:
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)


-- 
Apr 13 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1137






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)


-- 
Apr 13 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1137






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... :-)


-- 
Apr 14 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1137


dvdfrdmn users.sf.net changed:

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





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.


-- 
Aug 21 2007