how to export callbacks on win64?

kinke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Oct 25 14:48:54 PDT 2016


Hey,

On Tuesday, 25 October 2016 at 21:28:50 UTC, captaindet wrote:
> i appreciate that you are trying to help. however, you are 
> indicating workarounds for something that should work out of 
> the box.
>
> again, D has the export attribute for this reason
> https://dlang.org/spec/attribute.html
> and my code/use-case works fine with DMD (and the MS linker).
>
> the lack of replies addressing the root problem seems to 
> indicate that LDC does not respect the export attribute. maybe 
> i should file a bug.

Sometimes the issues are already known and a quick GitHub search 
reveals them:
https://github.com/ldc-developers/ldc/issues/1745

> as it stands this is a blocker for me, meaning i cannot use LDC 
> for my project.

Yep. Contributions are always welcome though. ;)


More information about the digitalmars-d-ldc mailing list