On Thursday 02 March 2006 21:32, João Luis Meloni Assirati wrote: Olá João, :-) (Oi seria melhor ? ;-)
> > | Index: src/texrow.h > > | =================================================================== > > | --- src/texrow.h (revision 13280) > > | +++ src/texrow.h (working copy) > > | @@ -46,6 +46,9 @@ > > | */ > > | bool getIdFromRow(int row, int & id, int & pos) const; > > | > > | + /// getRowFromId - find the closest row for a given (id, pos) pair > > | + int TexRow::getRowFromId(int id, int pos) const; > > | + > > > > This 'TexRow::' is actually a syntax error and will give warning/error > > with gcc 4.1. > > I don't get it. What is the problem? class TexRow { ... int TexRow::getRowFromId(int id, int pos) const; ... } The use of TexRow classifier inside the class is wrong, since the function is declared there. The right syntax is: class TexRow { ... int getRowFromId(int id, int pos) const; ... } > João. -- José Abílio