Georg Baum wrote:
> It compiles if I change line 838 of src/Cursor.C from
> 
> if (t.operator->() != anchor_[depth()].inset())
> 
> to
> 
> if (t.operator->() !=
> const_cast<InsetBase const *>(anchor_[depth()].inset()))
>
> Is this expected?

Don't think so. The two functions in question are:
        MathInset const * MathAtom::operator->() const;
and
        InsetBase * CursorSlice::inset() const;
but MathInset derives from InsetBase.

Looks to me like cursor.C is missing a
        #include "mathed/math_inset.h"

-- 
Angus

Reply via email to