struggling to link against a C global in D (win/vs2017)
Stanislav Blinov
stanislav.blinov at gmail.com
Mon Oct 29 00:16:38 UTC 2018
On Monday, 29 October 2018 at 00:01:21 UTC, DanielG wrote:
> In my D app I'm declaring it this way:
>
> extern (C) {
> extern __gshared int myIntValue;
> int myIntFunc (int a, int b);
> }
>
> The function seems to link OK, but the C global will not.
Should it be extern(Windows), perchance?.. (I haven't D on
Windows for ages).
More information about the Digitalmars-d-learn
mailing list