www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22793] New: importC: __import conflicts when importing


          Issue ID: 22793
           Summary: importC: __import conflicts when importing multiple
                    modules with same package
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: duser neet.fi

// test.c
__import core.stdc.stdlib;
__import core.stdc.string;

output with dmd v2.099.0-beta.1:

test.c(2): Error: import `test.core` conflicts with import `test.core` at

Feb 18 2022