Incomprehensible error message

Adam D. Ruppe destructionator at gmail.com
Mon Mar 19 17:01:32 UTC 2018


On Monday, 19 March 2018 at 16:33:28 UTC, Russel Winder wrote:
> I have been staring at this message so long, I have clearly 
> stopped actually reading it, hence outside assistance needed.

So I would guess either there's two definitions of one of the 
types like maybe `dvb_v5_fe_parms` and the constructor uses one 
and your code uses another (may be the same struct defined in two 
different modules, where the definition imported one and you 
imported another - stupid compiler was (is?) liable to say "type 
A is not type A" when it should say "type foo.A is not bar.A"), 
or something like a stray const on the `this` pointer.


I almost remember that A != A bug was fixed but maybe not in 
function call things, or maybe not pushed to your ldc version yet.



More information about the Digitalmars-d-learn mailing list