On Tuesday 23 July 2002 15:26, Lars Gullik Bjønnes wrote: > > add a const_cast: const_cast<char*>(var)
Ok, that fix solves it. > | lstrings.C:119: Unable to find a register to spill in class `AREG'. > | lstrings.C:119: confused by earlier errors, bailing out > | > | The function in question is: > | 112 bool prefixIs(string const & a, char const * pre) > | 113 { > | 114 unsigned int l = strlen(pre); > | 115 if (l > a.length() || a.empty()) > | 116 return false; > | 117 else > | 118 return a.compare(0, l, pre, l) == 0; > | 119 } > > This one is harder and shows some compiler problem... The famous 2.96 series. :-) As Jean-Marc suggested --with-included-string fixes the problem. How can I compile lyx with another g++? I have version 3.0.2 that is called g++3. -- José Abílio