www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19376] New: Don't generate object file from .di file passed


          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 puremagic.com
          Reporter: bugzilla 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.

Nov 07 2018