dcompute - Error: unrecognized `pragma(LDC_intrinsic)

Nicholas Wilson iamthewilsonator at hotmail.com
Thu Feb 28 10:37:22 UTC 2019

On Thursday, 28 February 2019 at 09:58:35 UTC, Michelle Long 
> I've included it in Visual D as di and it seems not to add it 
> to the include line...
> Is it in any way possible that it being an di file would allow 
> that? Seems that it is an LDC issue though but LDC has some 
> usage of it I believe and it works fine.
> Could it be a LDC version? Or do I need to include something to 
> make it work? Seems like it would be part of the compiler 
> itself.

(I'm on cold and flu meds so apologies if this doesn't make sense)

It should be on the atuoimport path of LDC as that file had 
(https://github.com/ldc-developers/druntime/tree/ldc/src/ldc) are 
part of LDC's druntime which should be imported by ldc's .conf 
file, it won't show up on the command line unless you do 
something (... brain not working properly...).

Irrespective of all that, the error comes from


which should never happen because this branch should be taken


because that pragma is explicitly checked for here


More information about the Digitalmars-d-learn mailing list