digitalmars.D.bugs - [Issue 22954] New: Header generator emits extern(C) member functions
- d-bugmail puremagic.com (17/17) Mar 29 2022 https://issues.dlang.org/show_bug.cgi?id=22954
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 puremagic.com Reporter: moonlightsentinel 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++) --
Mar 29 2022