On Wednesday, 27 February 2019 at 22:56:14 UTC, Michelle Long
wrote:
Trying to get dcompute to work... after a bunch of issues
dealing with all the crap this is what I can't get past:
Error: unrecognized `pragma(LDC_intrinsic)
This is actually from the ldc.intrinsics file, which I had to
rename from .di to d so it would be included in by VisualD.
I upgraded to latest LDC just before
LDC - the LLVM D compiler (1.14.0git-1bbda74):
based on DMD v2.084.1 and LLVM 7.0.1
pragma(LDC_intrinsic, "llvm.returnaddress")
void* llvm_returnaddress(uint level);
..\..\..\..\D\LDC\import\ldc\intrinsics.d(85): Error:
unrecognized `pragma(LDC_intrinsic)`
I've got no idea why that is the case, although I note that you
shouldn't need to change intrinsics.di to intrinsics.d, as a .di
it only needs to be on the include path which should already be
the case for LDC.