Shared library extern (C) variables

Jacob Carlborg doob at me.com
Mon Jan 6 01:27:25 PST 2014


On 2014-01-05 22:15, TheFlyingFiddle wrote:

> Export is currently somewhat broken see DIP45 for an indepth explanation
> (link)
>
> To be able to load symbols from libraries at runtime they have to be
> declared with extern.

"export", not "extern".

> This rule does not hold on linux though since it
> simply makes all the symbols avalible but for other systems it is
> important.

On Posix, not just Linux.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list