[Issue 15060] Can't load a D shared library first, then load a C shared library
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 2 06:24:18 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15060
--- Comment #15 from bitwise <nicolas.jinchereau at gmail.com> ---
(In reply to bitwise from comment #14)
> (In reply to Jacob Carlborg from comment #13)
> > [...]
>
> Right, which is why I am recommending the special pragmas(or pragma).
Basically, we need these:
pragma(attribute, weak)
pragma(visibility, hidden)
pragma(section, "__mod_init_func");
pragma(section, "__mod_term_func");
--
More information about the Digitalmars-d-bugs
mailing list