DMD: can't get extern __gshared to work right (vs. LDC)

Kagamin spam at here.lot
Fri Feb 8 07:52:26 UTC 2019


On Friday, 8 February 2019 at 05:28:30 UTC, DanielG wrote:
> Is this correct behavior?

It's correct for Windows: address of imported data is not known 
at link time and must use dynamic linkage. AFAIK, export 
attribute doesn't do much on posix platforms.


More information about the Digitalmars-d-learn mailing list