After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694610 - Using markdown causes wrong error and warning line numbers
Using markdown causes wrong error and warning line numbers
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.3.1
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-02-24 18:16 UTC by Philipp Moeller
Modified: 2013-05-19 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A pure markdown file and a source file showing the problem (23.19 KB, application/zip)
2013-02-24 18:16 UTC, Philipp Moeller
Details

Description Philipp Moeller 2013-02-24 18:16:02 UTC
Created attachment 237297 [details]
A pure markdown file and a source file showing the problem

When markdown is used in a comment or a markdown file, error and warnings produced by doxygen point to the wrong line numbers.

The attached example issues two warnings:

Generating docs for page WrongLine...
/home/boots/prog/doxytest/markdown.md:10: warning: unable to resolve reference to `DemoWrongLine_Introduction' for \ref command
[...]
Generating docs for compound foo...
/home/boots/prog/doxytest/main.cpp:6: warning: unable to resolve reference to `foo_intro_doesnotexist' for \ref command

where the respective line numbers should be 13 and 7 respectively.
Comment 1 Dimitri van Heesch 2013-02-26 19:40:54 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2013-05-19 12:35:30 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. 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.