LDC 0.12.1 has been released

Jacob Carlborg doob at me.com
Wed Dec 4 23:26:59 PST 2013


On 2013-12-05 07:52, Kai Nacke wrote:

> Shared libraries are not yet supported and still need some work.
>
> I don't know the semantic of the gcc attributes. Do
> pragma(LDC_global_crt_ctor) and pragma(LDC_global_crt_dtor) help? See
> http://wiki.dlang.org/LDC-specific_language_changes.

The functions the attributes are attached to will be called before a 
shared library is loaded/unloaded. Clang supports these as well.

-- 
/Jacob Carlborg


More information about the digitalmars-d-ldc mailing list