André, here are a couple of things that my dinosaur picked up. Angus Index: src/mathed/math_deliminset.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_deliminset.C,v retrieving revision 1.23 diff -u -p -r1.23 math_deliminset.C --- src/mathed/math_deliminset.C 2001/08/17 09:48:24 1.23 +++ src/mathed/math_deliminset.C 2001/08/17 11:04:16 @@ -1,3 +1,5 @@ +#include <config.h> + #ifdef __GNUG__ #pragma implementation #endif @@ -7,6 +9,7 @@ #include "mathed/support.h" #include "support/LOstream.h" +using std::max; MathDelimInset::MathDelimInset(latexkeys const * l, latexkeys const * r) : MathNestInset(1), left_(l), right_(r) Index: src/mathed/math_parser.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.110 diff -u -p -r1.110 math_parser.C --- src/mathed/math_parser.C 2001/08/17 10:51:50 1.110 +++ src/mathed/math_parser.C 2001/08/17 11:04:16 @@ -46,6 +46,8 @@ #include "support/lstrings.h" using std::istream; +using std::ostream; +using std::ios; using std::endl; @@ -128,7 +130,7 @@ enum { FLAG_NEWLINE = 1 << 6, // next \\\\ ends the parsing process FLAG_ITEM = 1 << 7, // read a (possibly braced token) FLAG_BLOCK = 1 << 8, // next block ends the parsing process - FLAG_LEAVE = 1 << 9, // leave the loop at the end + FLAG_LEAVE = 1 << 9 // leave the loop at the end };