[Issue 22335] Exporting variables from DLLs is unusable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 26 09:15:33 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=22335
--- Comment #2 from Max Samukha <maxsamukha at gmail.com> ---
(In reply to Walter Bright from comment #1)
> It's currently necessary to manually create a .di file with the contents:
>
> export extern __gshared int x;
>
> for this to work.
That's literally what I wrote. The point of this bug report is that it has to
be done manually because neither simple import nor "-H" work.
--
More information about the Digitalmars-d-bugs
mailing list