I get the following errors with compaq cxx:

cxx: Error: ../../../lyx-devel/src/mathed/math_macro.C, line 274: argument of
          type "const char *" is incompatible with parameter of type
          "unsigned char *"
            drawStr(pain, LM_TC_TEX, size, x, baseline, ost.str().c_str(), 2);
--------------------------------------------------------^
cxx: Error: ../../../lyx-devel/src/mathed/math_macro.C, line 294: argument of
          type "const char *" is incompatible with parameter of type
          "const unsigned char *"
            width = mathed_string_width(LM_TC_TEX, size, ost.str().c_str(), 2);
---------------------------------------------------------^
cxx: Error: ../../../lyx-devel/src/mathed/math_macro.C, line 296: argument of
          type "const char *" is incompatible with parameter of type
          "const unsigned char *"
                                 ost.str().c_str(), 2, ascent, descent);
---------------------------------^

It appears that MathedInset::drawStr and the string metrics functions
in formula.C use byte* as parameter for the string. Is there a reason
for that, or can I change them to char const *?

JMarc

Reply via email to