[Issue 22954] New: Header generator emits extern(C) member functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 29 09:58:20 UTC 2022


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

          Issue ID: 22954
           Summary: Header generator emits extern(C) member functions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: moonlightsentinel at disroot.org

The header generator exports functions marked as `extern(C)`. But those
functions receive D mangling and hence aren't callable from a plain member
declaration (that always receives C++ mangling in C++)

--


More information about the Digitalmars-d-bugs mailing list