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

rikki cattermole rikki at cattermole.co.nz
Fri Feb 8 09:19:12 UTC 2019


On 08/02/2019 9:14 PM, DanielG wrote:
> On Friday, 8 February 2019 at 07:52:26 UTC, Kagamin wrote:
>> AFAIK, export attribute doesn't do much on posix platforms.
> 
> I created a minimal example and it definitely segfaults at runtime in 
> the presence of "export" (on Mac, haven't tested linux). So it's 
> required for Windows and silently evil for Mac...
> 
> Any reason I shouldn't file a DMD bug for this?

File, inconsistent behavior is inconsistent. Not good.


More information about the Digitalmars-d-learn mailing list