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()
  {

  }
}

Reply via email to