Problem with coupling shared object symbol visibility with protection

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 21 06:22:33 PST 2015


> Thanks for keeping to poke this issue - symbol visibility is 
> currently a big undefined minefield in D ABI.

Your welcome. At this point I'm so desperate for D Dll support 
that I stopped poking and started implementing it myself. I'm 3 
unresolved symbol references away from actually building phobos 
into a dll (druntime already is).

By the way you could also export non accessible symbols like this:

static public void templateFunc(T)()
{
   Impl.someHelperFunc();
}

export struct Impl
{
   package:
   static void someHelperFunc()
   {

   }
}


More information about the Digitalmars-d mailing list