Le 06/02/2025 à 12:19, Scott Kostyshak a écrit :
mathed/InsetMathSymbol.cpp: In member function 'virtual void 
lyx::InsetMathSymbol::mathmlize(lyx::MathMLStream&) const':
mathed/InsetMathSymbol.cpp:167:20: error: 'strcmp' was not declared in this 
scope
   167 |         } else if (strcmp(sym_->MathMLtype(), "mi") == 0) {
       |                    ^~~~~~
mathed/InsetMathSymbol.cpp:27:1: note: 'strcmp' is defined in header '<cstring>'; 
this is probably fixable by adding '#include <cstring>'
    26 | #include "support/textutils.h"
   +++ |+#include <cstring>
    27 | #include "support/unique_ptr.h"

Hi Thibaut,

I'm guessing this was triggered from the recent work you've done. Can
you take a look?

Hi there,

I would suggets to change MathMLtype() to return a std::string. And to use an initial lowercase letter.

JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to