>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Compilation of math_parser.C with DEC cxx fails cxx: Error:
Angus> math_parser.C, line 189: #304 no instance of overloaded
Angus> function "std::basic_istream<charT, traits>::get [with
Angus> charT=char, traits=std::char_traits<char>]" matches the
Angus> argument list argument types are: (unsigned char)
yyis-> get(c);
Angus> and in several other places.
Angus> So it looks like the correct fix is to have: { while
Angus> (yyis->good()) { char c;
yyis-> get(c);
Angus> ... } }
Or, as is done in lyxlex, use "int c", so that you are sure that no
problem will occur in code like "if (c > ' ')...".
On a related note, I get this warning:
cxx: Warning: ../../../lyx-devel/src/mathed/math_parser.C, line 233: subscript
out of range
lyxerr << " code: " << lexcode['ü'] << endl;
-----------------------------------------------------------^
One should very careful about unsigned vs signed chars matters.
JMarc