André, here is a trivial patch for mathed. I also get lots and lots of warning messages so:
cxx: Warning: math_scriptinset.h, line 37: #610-D "int MathScriptInset::ascent(const MathInset *) const" does not match "MathInset::ascent" -- virtual function override intended? int ascent(MathInset const * nuc) const; I also get a number of "conversion to integral type of smaller size" warnings when using size() et al, but not so many. Note also: cxx: Info: math_parser.C, line 222: #177-D function "<unnamed>::operator!=" was declared but never referenced bool operator!=(Token const & s, Token const & t) cxx: Warning: math_iterator.C, line 144: #186-D pointless comparison of unsigned integer with zero lyx::Assert(position().pos_ >= 0); Regards, Angus
Index: src/mathed/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v retrieving revision 1.188 diff -u -p -r1.188 ChangeLog --- src/mathed/ChangeLog 2002/01/03 12:02:53 1.188 +++ src/mathed/ChangeLog 2002/01/07 12:29:01 @@ -1,3 +1,6 @@ +2002-01-07 Angus Leeming <[EMAIL PROTECTED]> + + * math_defs.h: remove trailing comma from enum MathTextCodes. 2002-01-03 André Pönitz <[EMAIL PROTECTED]> Index: src/mathed/math_defs.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_defs.h,v retrieving revision 1.67 diff -u -p -r1.67 math_defs.h --- src/mathed/math_defs.h 2001/12/18 12:21:32 1.67 +++ src/mathed/math_defs.h 2002/01/07 12:29:01 @@ -76,7 +76,7 @@ enum MathTextCodes { /// LM_TC_MSB, /// - LM_FONT_END, + LM_FONT_END };