João Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | Em Qui 02 Mar 2006 05:22, Lars Gullik Bjønnes escreveu: | > João Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | > | 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?
remove 'TexRow::' from the in-class method declaration. | > Note also that I plan to get rid of TexRow completely later, infavour | > of unique id's on paragraphs and offsets into the paragraph. Then we | > can have dvi files that can contain sourcespecials and we can send | > them around and expect the reverse search to work. | | Latex reports errors in terms of rows in the latex file. How then do you plan | to map rows into ids a and offsets in order to locate those errors? We insert the sourcespecials ourselfs, and it is what is set in those that latex reports. -- Lgb