GNOME Bugzilla – Bug 671240
Warning message line numbers off by 2.
Last modified: 2012-05-19 12:27:07 UTC
Created attachment 208891 [details] Test input. Line numbers in warning messages are 2 less than the actual line number in the file. In the attached example file, the offending lines are 9 and 10. Doxygen produces the following output: mainpage.dox:7: warning: expected whitespace after p command mainpage.dox:8: warning: unable to resolve reference to `nonexistent' for \ref command Note that the line numbers are 7 and 8. The offset is always -2 and does not seem to depend on the nature of preceding content in the file (e.g. blank lines, other comment blocks, other tags, etc.).
Confirmed. Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.