Global variable type does not match previous declaration

Satoshi satoshi at rikarin.org
Sat Dec 16 09:18:22 UTC 2017


On Saturday, 16 December 2017 at 09:04:05 UTC, Satoshi wrote:
> I commented out the TypeInfo declarations and got the same 
> error but on different symbol.
>
> object.d(1569): Error: Function type does not match previously 
> declared function with the same mangled name: _d_dynamic_cast
>
>
> https://github.com/Rikarin/Trinix/blob/master/Kernel/object.d#L1569
>
> https://travis-ci.org/Rikarin/Trinix/builds/317288016?utm_source=github_status&utm_medium=notification
>
> I have no idea what's wrong with that.
> Any ideas?
>
>
> Thanks.

Actually, it seems like bug in LDC (compilation with DMD works 
fine).
I opened issue https://github.com/ldc-developers/ldc/issues/2453


More information about the Digitalmars-d-learn mailing list