[Issue 22367] The __ModuleInfo member spuriously linked for modules compiler with -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 8 17:07:35 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22367
--- Comment #2 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Iain Buclaw from comment #1)
> Is this really an issue? What use-case is there for compiling a D library
> with -betterC then using it from a D program?
A use case is the dmd compiler itself (not sure why it's built this way).
Anyway, there are a variety of cases in which you want to build a library in D
that could work with both C and D.
--
More information about the Digitalmars-d-bugs
mailing list