std.container.array linker error on OS X
Etienne via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 9 13:11:10 PDT 2014
On 2014-09-09 3:58 PM, Etienne wrote:
> I have to specify that AsyncSignal is defined as a "final shared class",
> and the array is defined as a Array!AsyncSignal
>
> I'm not sure if the compiler on OSX could act different and add the
> shared symbols there?
Meh, I answered my own question. Substituting it from Array!AsyncSignal
to Array!(void*) and casting away worked. Looks like dmd-osx has
templating problems with shared declarations.
More information about the Digitalmars-d-learn
mailing list