Lars Gullik Bjønnes wrote: > | without c_str, I get compiler errors. > > Which?
math_colorinset.C: In member function `virtual void MathColorInset::write(WriteStream&) const': math_colorinset.C:112: error: no match for 'operator<<' in ' operator<<((+operator<<((+os), "{\\color")), 123) << color' math_data.h:158: error: candidates are: std::ostream& operator<<(std::ostream&, const MathArray&) math_inset.h:184: error: std::ostream& operator<<(std::ostream&, const MathAtom&) ../../src/lyxfont.h:311: error: std::ostream& operator<<(std::ostream&, const LyXFont&) ../../src/lyxfont.h:435: error: std::ostream& operator<<(std::ostream&, LyXFont::FONT_MISC_STATE) math_mathmlstream.h:72: error: WriteStream& operator<<(WriteStream&, const MathAtom&) math_mathmlstream.h:74: error: WriteStream& operator<<(WriteStream&, const MathArray&) math_mathmlstream.h:76: error: WriteStream& operator<<(WriteStream&, const char*) math_mathmlstream.h:78: error: WriteStream& operator<<(WriteStream&, char) math_mathmlstream.h:80: error: WriteStream& operator<<(WriteStream&, int) math_mathmlstream.h:82: error: WriteStream& operator<<(WriteStream&, unsigned int) math_mathmlstream.h:136: error: MathMLStream& operator<<(MathMLStream&, const char*) math_mathmlstream.h:132: error: MathMLStream& operator<<(MathMLStream&, const MathAtom&) math_mathmlstream.h:134: error: MathMLStream& operator<<(MathMLStream&, const MathArray&) math_mathmlstream.h:138: error: MathMLStream& operator<<(MathMLStream&, char) math_mathmlstream.h:140: error: MathMLStream& operator<<(MathMLStream&, const MTag&) math_mathmlstream.h:142: error: MathMLStream& operator<<(MathMLStream&, const ETag&) math_mathmlstream.h:162: error: NormalStream& operator<<(NormalStream&, const MathAtom&) math_mathmlstream.h:164: error: NormalStream& operator<<(NormalStream&, const MathArray&) math_mathmlstream.h:166: error: NormalStream& operator<<(NormalStream&, const char*) math_mathmlstream.h:168: error: NormalStream& operator<<(NormalStream&, char) math_mathmlstream.h:170: error: NormalStream& operator<<(NormalStream&, int) math_mathmlstream.h:191: error: MapleStream& operator<<(MapleStream&, const MathAtom&) math_mathmlstream.h:193: error: MapleStream& operator<<(MapleStream&, const MathArray&) math_mathmlstream.h:195: error: MapleStream& operator<<(MapleStream&, const char*) math_mathmlstream.h:197: error: MapleStream& operator<<(MapleStream&, char) math_mathmlstream.h:199: error: MapleStream& operator<<(MapleStream&, int) math_mathmlstream.h:220: error: MaximaStream& operator<<(MaximaStream&, const MathAtom&) math_mathmlstream.h:222: error: MaximaStream& operator<<(MaximaStream&, const MathArray&) math_mathmlstream.h:224: error: MaximaStream& operator<<(MaximaStream&, const char*) math_mathmlstream.h:226: error: MaximaStream& operator<<(MaximaStream&, char) math_mathmlstream.h:228: error: MaximaStream& operator<<(MaximaStream&, int) math_mathmlstream.h:249: error: MathematicaStream& operator<<(MathematicaStream&, const MathAtom&) math_mathmlstream.h:251: error: MathematicaStream& operator<<(MathematicaStream&, const MathArray&) math_mathmlstream.h:253: error: MathematicaStream& operator<<(MathematicaStream&, const char*) math_mathmlstream.h:255: error: MathematicaStream& operator<<(MathematicaStream&, char) math_mathmlstream.h:257: error: MathematicaStream& operator<<(MathematicaStream&, int) math_mathmlstream.h:277: error: OctaveStream& operator<<(OctaveStream&, const MathAtom&) math_mathmlstream.h:279: error: OctaveStream& operator<<(OctaveStream&, const MathArray&) math_mathmlstream.h:281: error: OctaveStream& operator<<(OctaveStream&, const char*) math_mathmlstream.h:283: error: OctaveStream& operator<<(OctaveStream&, char) math_mathmlstream.h:285: error: OctaveStream& operator<<(OctaveStream&, int) Jürgen