[Issue 23893] New: DMD linking errors with -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 5 18:58:15 UTC 2023


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

          Issue ID: 23893
           Summary: DMD linking errors with -betterC
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: jlourenco5691 at gmail.com

This code fails to compile with DMD but compiles with LDC:

```d
interface Foo {} // same with class

extern(C) void main {}
```

--


More information about the Digitalmars-d-bugs mailing list