André,

here is a tiny, trivial patch to get mathed to compile on my machine. The 
problems I described yesterday with istream_iterator turned out to be a bug 
with my version of the C++ library files.

Angus

Are you still intersted by warning messages thrown up by the cxx compiler? In 
particular these seem suspect since you have absolute control over them!

cxx: Warning: math_scriptinset.h, line 93: #610-D "void
          MathScriptInset::octavize(const MathInset *, OctaveStream &) const"
          does not match "MathInset::octavize" -- virtual function override
          intended?
        void octavize(MathInset const * nuc, OctaveStream & os) const;
-------------^
cxx: Warning: math_scriptinset.h, line 95: #610-D "void
          MathScriptInset::maplize(const MathInset *, MapleStream &) const"
          does not match "MathInset::maplize" -- virtual function override
          intended?
        void maplize(MathInset const * nuc, MapleStream & os) const;
-------------^
cxx: Warning: math_scriptinset.h, line 97: #610-D "void
          MathScriptInset::mathmlize(const MathInset *, MathMLStream &) const"
          does not match "MathInset::mathmlize" -- virtual function override
          intended?
        void mathmlize(MathInset const * nuc, MathMLStream & os) const;

cxx: Warning: math_rootinset.h, line 35: #610-D
          "bool MathRootInset::idxUp(int &, int &) const" does not match
          "MathInset::idxUp" -- virtual function override intended?
        bool idxUp(int & idx, int & pos) const;

cxx: Warning: math_rootinset.h, line 37: #610-D
          "bool MathRootInset::idxDown(int &, int &) const" does not match
          "MathInset::idxDown" -- virtual function override intended?
        bool idxDown(int & idx, int & pos) const;

cxx: Warning: math_splitinset.h, line 21: #610-D
          "int MathSplitInset::defaultColSpace(int)" does not match
          "MathGridInset::defaultColSpace" -- virtual function override
          intended?
        int defaultColSpace(int) { return 0; }

cxx: Warning: math_splitinset.h, line 23: #610-D
          "char MathSplitInset::defaultColAlign(int)" does not match
          "MathGridInset::defaultColAlign" -- virtual function override
          intended?
        char defaultColAlign(int) { return 'l'; }

Some trivial ones also:

cxx: Info: formulabase.C, line 129: #835-D parameter "y" was never
          referenced

void InsetFormulaBase::edit(BufferView * bv, int x, int y, unsigned int 
button)
cxx: Info: formulabase.C, line 129: #835-D parameter "button" was
          never referenced

void InsetFormulaBase::edit(BufferView * bv, int x, int y, unsigned int 
button)

cxx: Info: formulabase.C, line 283: #177-D variable "sel" was
          declared but never referenced
                                string sel =

cxx: Info: formulabase.C, line 58: #177-D variable "<unnamed>::sel_x" was
          declared but never referenced
int sel_x;

cxx: Info: formulabase.C, line 59: #177-D variable "<unnamed>::sel_y" was
          declared but never referenced
int sel_y;

cxx: Info: math_extern.C, line 642: #550-D variable "n" was set but
          never used
                int n = 1;

Attachment: mathed.diff.bz2
Description: BZip2 compressed data

Reply via email to