Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 01 May 2002 7:23 pm, Lars Gullik Bjønnes wrote: >> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> | On Wed, May 01, 2002 at 08:08:25PM +0200, Lars Gullik Bjønnes wrote: >> >> "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: >> >> >> | lyxstring.C:1764: parse error before `::' >> >> >> | lyxstring.C:1766: confused by earlier errors, bailing out >> >> >> >> >> >> All this because of substandard compiler and library... >> >> >> >> >> >> What complier are you using? >> >> | >> >> | 2.95.1 on my Linux build machines. >> >> >> >> This works with 2.96: >> >> (by turning the ifs it work with gcc 3.x) >> | >> | Yes, this works with gcc-2.95 as well. >> | >> | Ship it! ;-) >> >> We need configure magic to make it work with gcc 3 as well... >> And I have no clue how dec cxx wil react to this... > | I have never been able to use lyxstring, presumably because some standard | files #include <string> when they shouldn't. > | Jean-Marc uses the 1-newer version of cxx and can compile with lyxstring. No | doubt he'll help you out here in 3 weeks time or so!
I really, really want to say that with gcc 3 you cannot use lyxstring... (even if it is not hard to fix) For cxx I have no idea how to really fix it, but I guess we can either use one of the functions Dekel provided and do the stuff a bit higher level, or we can snatch (can we?) the function cxx uses in its operator>>. -- Lgb