This should work shouldn't it... the types derive from each other.
Current CVS, gcc 2.95 with stlport. Georg Baum reported something
similar earlier on.

What's up?


math_nestinset.C: In method `void MathNestInset::getCursorPos(const
CursorSlice &, int &, int &) const':
math_nestinset.C:75: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxNext(LCursor &)
const':
math_nestinset.C:105: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxPrev(LCursor &)
const':
math_nestinset.C:122: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxFirst(LCursor &)
const':
math_nestinset.C:139: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxLast(LCursor &)
const':
math_nestinset.C:150: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxHome(LCursor &)
const':
math_nestinset.C:161: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `bool MathNestInset::idxEnd(LCursor &)
const':
math_nestinset.C:171: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast
math_nestinset.C: In method `void
MathNestInset::drawSelection(PainterInfo &, int, int) const':
math_nestinset.C:208: comparison of distinct pointer types `InsetBase
*' and `const MathNestInset *' lacks a cast


- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to