LDC 1.27.0-beta3

kinke noone at nowhere.com
Thu Jul 15 11:56:21 UTC 2021


On Thursday, 15 July 2021 at 11:38:10 UTC, Adam D Ruppe wrote:
> On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole 
> wrote:
>> If yes, it might be worth it to get rid of export as a keyword 
>> out right in a DIP (as it introduces the possibility of linker 
>> errors that would otherwise not need to exist).
>
> No, that's a bad idea.

I fully agree; it's still very useful with `-fvisibility=hidden` 
to only export what you really want (e.g., in order to quite 
likely shrink the final size of executables and plugin libs 
considerably) without the blunt export-everything method (which 
is nice for libraries like druntime and Phobos).


More information about the Digitalmars-d-announce mailing list