[Issue 19376] New: Don't generate object file from .di file passed on command line

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 8 00:10:22 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19376

          Issue ID: 19376
           Summary: Don't generate object file from .di file passed on
                    command line
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

A .di file is only supposed to be an interface. Generating code from it causes
a collision with the object code generated by the corresponding .d file.

.di files can be passed on the command line if they have different paths/names
from the module declaration in the file itself.

--


More information about the Digitalmars-d-bugs mailing list