My two cents

Guillaume Piolat contact at spam.com
Mon Oct 23 13:18:21 UTC 2017


On Monday, 23 October 2017 at 11:39:58 UTC, Martin Nowak wrote:
> On Monday, 23 October 2017 at 11:23:18 UTC, Guillaume Piolat 
> wrote:
>> Not anymore, you can use the "export" keyword for Windows (eg 
>> with LDC >= 1.2).
>
> With what semantic?
>

We used to require .def files, and now use "export" instead on 
Windows.
Works on DMD (not sure since what version) and LDC since 
https://github.com/ldc-developers/ldc/pull/1856
Windows only and free functions only.

>> Every-symbol-public-by-default in Posix is annoying though :)
>
> We agreed on hidden visibility by default for everything that's 
> not exported.
> This requires export to be fixed on non-Windows machines first.

This is especially interesting since hidden visibility for most 
symbols is required to make -dead_strip effective (strips most of 
the object code here).


> By any means, if someone wants to help here, get in touch with 
> Benjamin Thaut and me.
> This has been lingering around for way to long, and Benjamin 
> alone has a hard time pushing this.

Would Bountysource help be adequate?



More information about the Digitalmars-d mailing list