[Issue 23974] A ModuleInfo in a separate Windows DLL should not be referred to by MIimportedModules
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 5 23:57:05 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23974
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Walter Bright from comment #2)
> A module is imported (and outside the binary) when it contains exported
> declarations:
>
> export extern int x = 3;
>
> export int foo();
Argh, I mean:
module mydll;
export extern __gshared int x;
export int foo();
and then mydll is imported.
--
More information about the Digitalmars-d-bugs
mailing list