Error: Incompatible declaration of runtime function `_d_arraybounds`

Adam D. Ruppe destructionator at gmail.com
Sun Aug 23 14:19:13 UTC 2020


On Sunday, 23 August 2020 at 13:41:18 UTC, kinke wrote:
> Such hacks don't work with LDC and its strongly typed IR, so we 
> don't pass these unused extra args. You can grep the src for 
> `_d_arraybounds`, adjusting the signature of this runtime hook 
> and the call site in DtoBoundsCheckFailCall(), but will have to 
> adapt more code to forward the extra args to the latter 
> function.

Blargh.

I plan to get that info used in upstream dmd druntime eventually, 
but meh I'll keep living in darkness for now.

oh well


More information about the digitalmars-d-ldc mailing list