On Thu, May 02, 2002 at 10:38:22AM +0200, Lars Gullik Bjønnes wrote:
> 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>>.

Or just use the code which was used up until recently:
        // very bad solution
        char * nome = new char[1024];
        is >> nome;
        lyxstring tmp(nome);
        delete [] nome;
        if (!tmp.empty()) s = tmp;

Reply via email to