dub ldc error _d_array_slice_copy

SrMordred patric.dexheimer at gmail.com
Mon Feb 18 19:10:50 UTC 2019


On ubuntu:

void test(size_t l)
{
     char* a;
     a[0 .. l] = a[0 .. l];	
}
extern(C) void main(){
	test(0);
}

ldc2 source/app.d //compiles

dub --compiler=ldc2 //app.d:4: error: undefined reference to 
'_d_array_slice_copy'





More information about the Digitalmars-d-learn mailing list