www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 103] New: -fdeps Doesn't Handle Multiple Source Files


             Bug #: 103
           Summary: -fdeps Doesn't Handle Multiple Source Files
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86
        OS/Version: Other
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: slavo5150 yahoo.com

This was migrated from

Andrew Wiley created an issue 2011-05-25
When I call `dmd -deps=depsfile source1.d source2.d` the dependencies for both
source files are written to depsfile, but `gdc -fdeps=depsfile source1.d
source2.d` only writes the dependencies of source2.d.

Andrew Wiley - 2011-05-26
It looks like adding -combine makes this work. Should this bug just close then?
Seems like it would be useful if the driver could provide a warning if it's
called with -fdeps and multiple sourcefiles without -combine, as this
combination is basically useless.

Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Feb 01 2014