Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning message line numbers off by 2. (Origin: bugzilla #671240) #4604

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant
Copy link

doxygen commented Jul 2, 2018

status RESOLVED severity minor in component general for ---
Reported in version 1.8.0 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-03-03 01:13:42 +0000, Jason C wrote:

Created attachment 208891
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.).

On 2012-03-03 22:06:05 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2012-05-19 12:27:07 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.